Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cafe3a7

Browse filesBrowse files
committed
Dynamic branch name
1 parent 231c3ae commit cafe3a7
Copy full SHA for cafe3a7

File tree

1 file changed

+4
-2
lines changed
Filter options

1 file changed

+4
-2
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.