diff --git a/.gitmodules b/.gitmodules index 8024ca7..8f90ec8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -67,3 +67,12 @@ [submodule "vendor/golang.org/x/image"] path = vendor/golang.org/x/image url = https://go.googlesource.com/image +[submodule "vendor/github.com/smartystreets/goconvey"] + path = vendor/github.com/smartystreets/goconvey + url = https://github.com/smartystreets/goconvey +[submodule "vendor/github.com/jtolds/gls"] + path = vendor/github.com/jtolds/gls + url = https://github.com/jtolds/gls +[submodule "vendor/github.com/smartystreets/assertions"] + path = vendor/github.com/smartystreets/assertions + url = https://github.com/smartystreets/assertions diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index db5e62e..9ecabe0 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -6,6 +6,14 @@ workspace: path: src/gitbase.de/apairon/mark2web steps: + - name: init submodules + image: docker:git + commands: + - git submodule update --init --recursive + - git fetch --tags + when: + event: [ push, tag ] + - name: test image: golang:latest environment: @@ -13,8 +21,6 @@ steps: GOOS: linux GOARCH: amd64 commands: - - git submodule update --init --recursive - - git fetch --tags - go test -v -coverprofile coverage.out ./pkg/* when: event: [ push, tag ] diff --git a/vendor/github.com/jtolds/gls b/vendor/github.com/jtolds/gls new file mode 160000 index 0000000..b4936e0 --- /dev/null +++ b/vendor/github.com/jtolds/gls @@ -0,0 +1 @@ +Subproject commit b4936e06046bbecbb94cae9c18127ebe510a2cb9 diff --git a/vendor/github.com/smartystreets/assertions b/vendor/github.com/smartystreets/assertions new file mode 160000 index 0000000..980c5ac --- /dev/null +++ b/vendor/github.com/smartystreets/assertions @@ -0,0 +1 @@ +Subproject commit 980c5ac6f3acb6ce1cfe13160e49188807174fbe diff --git a/vendor/github.com/smartystreets/goconvey b/vendor/github.com/smartystreets/goconvey new file mode 160000 index 0000000..200a235 --- /dev/null +++ b/vendor/github.com/smartystreets/goconvey @@ -0,0 +1 @@ +Subproject commit 200a235640ff2643e3126834b67f3e93df76640a