Skip to content

Commit cba57b6

Browse files
committed
Merge pull request revel#790 from revel/fix-travis
Fix travis for 0.12
2 parents 9f4029c + d0349ce commit cba57b6

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.travis.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ services:
55
- redis-server
66
install:
77
- 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/
915
- 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
1816
script:
1917
- go test github.com/revel/revel
2018
- go test github.com/revel/revel/cache

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