From 5a58af0ac57e4043ab21088bf85325d5be2ba88f Mon Sep 17 00:00:00 2001 From: Travis Ralston <travpc@gmail.com> Date: Sat, 22 Dec 2018 18:33:10 -0700 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c76f6f58..adb79728 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,9 +8,15 @@ jobs: working_directory: /go/src/github.com/turt2live/matrix-media-repo steps: - checkout - - run: go get github.com/constabulary/gb/... - - run: gb vendor restore - - run: gb build all + - run: + name: get gb + command: 'go get github.com/constabulary/gb/...' + - run: + name: restore vendor packages + command: 'gb vendor restore' + - run: + name: gb build + command: 'gb build all' - store_artifacts: path: bin/media_repo destination: media_repo @@ -24,15 +30,29 @@ jobs: steps: # Build the project - checkout - - run: go get github.com/constabulary/gb/... - - run: gb vendor restore - - run: gb build all + - run: + name: get gb + command: 'go get github.com/constabulary/gb/...' + - run: + name: restore vendor packages + command: 'gb vendor restore' + - run: + name: gb build + command: 'gb build all' # Install sytest - - run: cd /test - - run: wget -q https://github.com/matrix-org/sytest/archive/develop.tar.gz -O sytest.tar.gz - - run: tar --strip-components=1 -xf sytest.tar.gz + - run: + name: go to sytest + command: 'cd /test' + - run: + name: download sytest + command: 'wget -q https://github.com/matrix-org/sytest/archive/develop.tar.gz -O sytest.tar.gz' + - run: + name: unpack sytest + command: 'tar --strip-components=1 -xf sytest.tar.gz' # Finally, run the tests - - run: ./run-tests.sh + - run: + name: run sytests + command: './run-tests.sh' workflows: version: 2 build_and_test: -- GitLab