Skip to content
Snippets Groups Projects
Unverified Commit 5a58af0a authored by Travis Ralston's avatar Travis Ralston Committed by GitHub
Browse files

Update config.yml

parent 3194e82c
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,15 @@ jobs: ...@@ -8,9 +8,15 @@ jobs:
working_directory: /go/src/github.com/turt2live/matrix-media-repo working_directory: /go/src/github.com/turt2live/matrix-media-repo
steps: steps:
- checkout - checkout
- run: go get github.com/constabulary/gb/... - run:
- run: gb vendor restore name: get gb
- run: gb build all 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: - store_artifacts:
path: bin/media_repo path: bin/media_repo
destination: media_repo destination: media_repo
...@@ -24,15 +30,29 @@ jobs: ...@@ -24,15 +30,29 @@ jobs:
steps: steps:
# Build the project # Build the project
- checkout - checkout
- run: go get github.com/constabulary/gb/... - run:
- run: gb vendor restore name: get gb
- run: gb build all 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 # Install sytest
- run: cd /test - run:
- run: wget -q https://github.com/matrix-org/sytest/archive/develop.tar.gz -O sytest.tar.gz name: go to sytest
- run: tar --strip-components=1 -xf sytest.tar.gz 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 # Finally, run the tests
- run: ./run-tests.sh - run:
name: run sytests
command: './run-tests.sh'
workflows: workflows:
version: 2 version: 2
build_and_test: build_and_test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment