Skip to content

Commit

Permalink
Fix travis build path
Browse files Browse the repository at this point in the history
  • Loading branch information
lnsp committed Oct 26, 2018
1 parent 34d1de7 commit 77c532e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ before_install:
- sudo apt-get update
- sudo apt-get install nodejs -y
install:
- cd api && go get ./...
- cd webui && npm install && npm run build
- cd $TRAVIS_BUILD_DIR/api && go get ./...
- cd $TRAVIS_BUILD_DIR/webui && npm install && npm run build
script:
- cd api && go test ./...
- cd webui && npm run lint
- cd $TRAVIS_BUILD_DIR/api && go test ./...
- cd $TRAVIS_BUILD_DIR/webui && npm run lint
after_success:
- if [ -z $TRAVIS_TAG ]; then echo "skipped building artifacts."; else cd $TRAVIS_BUILD_DIR && scripts/build-dist $TRAVIS_TAG; fi
deploy:
Expand Down

0 comments on commit 77c532e

Please sign in to comment.