File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,14 @@ services:
5
5
- redis-server
6
6
install :
7
7
- export PATH=$PATH:$HOME/gopath/bin
8
- # Annoyingly, we can not use go get revel/... because references to app/routes package fail
8
+ - export REVEL_BRANCH="develop"
9
+ - ' if [[ "$TRAVIS_BRANCH" == "master" ]]; then export REVEL_BRANCH="master"; fi'
10
+ - ' echo "Travis branch: $TRAVIS_BRANCH, Revel dependency branch: $REVEL_BRANCH"'
11
+ - go get -v github.com/revel/revel/...
12
+ - git clone -b $REVEL_BRANCH git://github.com/revel/modules ../modules/
13
+ - git clone -b $REVEL_BRANCH git://github.com/revel/cmd ../cmd/
14
+ - git clone git://github.com/revel/samples ../samples/
9
15
- go get -v github.com/revel/cmd/revel
10
- - go get -v github.com/revel/revel/cache
11
- - go get -v github.com/revel/cmd/harness
12
- - go get -v github.com/coopernurse/gorp
13
- - go get -v code.google.com/p/go.crypto/bcrypt
14
- - go get -v github.com/mattn/go-sqlite3
15
- - go get -v github.com/robfig/cron
16
- - go get -v code.google.com/p/goauth2/oauth
17
- - go get -v github.com/mrjones/oauth
18
16
script :
19
17
- go test github.com/revel/revel
20
18
- go test github.com/revel/revel/cache
You can’t perform that action at this time.
0 commit comments