From ee53a32ace5ba2f151d190c302d19310dbb72084 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Sun, 2 Jun 2019 02:12:45 +0200 Subject: [PATCH] [BUGFIX] bump vendor gosrc.io/xmpp to pr fork --- .gitlab-ci.yml | 5 +++++ .gitmodules | 4 ++++ component/all/main_test.go | 1 + vendor/gosrc.io/xmpp | 1 + 4 files changed, 11 insertions(+) create mode 100644 .gitmodules create mode 100644 component/all/main_test.go create mode 160000 vendor/gosrc.io/xmpp diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b6bd91b..2c4c278 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,9 @@ stages: - build - test +variables: + GIT_SUBMODULE_STRATEGY: recursive + before_script: - mkdir -p /go/src/dev.sum7.eu/$CI_PROJECT_NAMESPACE/ - cp -R $CI_PROJECT_DIR /go/src/dev.sum7.eu/$CI_PROJECT_NAMESPACE @@ -24,10 +27,12 @@ test-my-project: script: - ./.ci/check-gofmt - ./.ci/check-testfiles + - go get -d github.com/stretchr/testify/assert - go test $(go list ./... | grep -v /vendor/) -v -coverprofile .testCoverage.txt - go tool cover -func=.testCoverage.txt test-race-my-project: stage: test script: + - go get -d github.com/stretchr/testify/assert - go test -race ./... diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3ac4dc7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "vendor/gosrc.io/xmpp"] + path = vendor/gosrc.io/xmpp + url = https://github.com/genofire/go-xmpp + branch = msg_extension diff --git a/component/all/main_test.go b/component/all/main_test.go new file mode 100644 index 0000000..1a6c647 --- /dev/null +++ b/component/all/main_test.go @@ -0,0 +1 @@ +package all diff --git a/vendor/gosrc.io/xmpp b/vendor/gosrc.io/xmpp new file mode 160000 index 0000000..3ddad3f --- /dev/null +++ b/vendor/gosrc.io/xmpp @@ -0,0 +1 @@ +Subproject commit 3ddad3f7a28604fa8c4fd5035d5a37aa1d676c95