Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 8067845

Browse files
committed
travis.yml: also use vendor directory
1 parent 23df4ae commit 8067845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ before_script:
1313
- chmod u+x bin/dep
1414
- export PATH=$PWD/bin:$PATH
1515
script:
16-
- make -k all test
16+
- make -k all test GOFLAGS_VENDOR=$( [ -d vendor ] && echo '-mod=vendor' )
1717
after_success:
1818
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
1919
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
20-
make push;
20+
make push GOFLAGS_VENDOR=$( [ -d vendor ] && echo '-mod=vendor' );
2121
fi

0 commit comments

Comments
 (0)