Skip to content

Commit

Permalink
travis.yml: also use vendor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pohly committed Nov 4, 2019
1 parent 23df4ae commit 8067845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ before_script:
- chmod u+x bin/dep
- export PATH=$PWD/bin:$PATH
script:
- make -k all test
- make -k all test GOFLAGS_VENDOR=$( [ -d vendor ] && echo '-mod=vendor' )
after_success:
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
make push;
make push GOFLAGS_VENDOR=$( [ -d vendor ] && echo '-mod=vendor' );
fi

0 comments on commit 8067845

Please sign in to comment.