Skip to content

Commit cafe3a7

Browse files
committed
Dynamic branch name
1 parent 231c3ae commit cafe3a7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ services:
55
- redis-server
66
install:
77
- export PATH=$PATH:$HOME/gopath/bin
8+
- export REVEL_BRANCH="develop"
9+
- [[ "$TRAVIS_BRANCH" -eq "master" ]] && export REVEL_BRANCH="master"
810
- go get -v github.com/revel/revel/...
9-
- git clone -b develop git://github.com/revel/modules ../modules/
10-
- git clone -b develop git://github.com/revel/cmd ../cmd/
11+
- git clone -b $REVEL_BRANCH git://github.com/revel/modules ../modules/
12+
- git clone -b $REVEL_BRANCH git://github.com/revel/cmd ../cmd/
1113
- git clone git://github.com/revel/samples ../samples/
1214
- go get -v github.com/revel/cmd/revel
1315
script:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy