Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #518 from chavafg/topic/fix-travis-1.5
Browse files Browse the repository at this point in the history
ci: travis: checkout test repo to correct branch
  • Loading branch information
Eric Ernst authored Apr 4, 2019
2 parents 5f3fa74 + cbd7923 commit 6d87043
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ clone_tests_repo()
fi

go get -d -u "$tests_repo" || true

if [ -n "${TRAVIS_BRANCH:-}" ]; then
( cd "${tests_repo_dir}" && git checkout "${TRAVIS_BRANCH}" )
fi
}

run_static_checks()
Expand Down

0 comments on commit 6d87043

Please sign in to comment.