Updated travis to use checkout matching branch of Revel Framework for build.

This commit is contained in:
NotZippy
2018-10-12 20:50:42 -07:00
parent 8c21a56302
commit 5e36cb1025
2 changed files with 5 additions and 3 deletions

View File

@@ -26,6 +26,8 @@ install:
- export REVEL_BRANCH="develop"
- 'if [[ "$TRAVIS_BRANCH" == "master" ]]; then export REVEL_BRANCH="master"; fi'
- 'echo "Travis branch: $TRAVIS_BRANCH, Revel dependency branch: $REVEL_BRANCH"'
- git clone -b $REVEL_BRANCH git://github.com/revel/revel ../revel/
- git clone -b $REVEL_BRANCH git://github.com/revel/modules ../modules/
- go get -t -v github.com/revel/cmd/revel
- go get -u github.com/golang/dep/cmd/dep
- echo $GOPATH