forked from revel/revel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: go
go: 1.1
services:
- memcache # github.com/robfig/revel/cache
install:
- export PATH=$PATH:$HOME/gopath/bin
# Annoyingly, we can not use go get revel/... because references to app/routes package fail
- go get -v github.com/robfig/revel/revel
- go get -v github.com/robfig/revel/cache
- go get -v github.com/robfig/revel/harness
- go get -v github.com/coopernurse/gorp
- go get -v code.google.com/p/go.crypto/bcrypt
- go get -v github.com/mattn/go-sqlite3
- go get -v github.com/robfig/cron
- go get -v github.com/robfig/goauth2/oauth
- go get -v github.com/mrjones/oauth
script:
- go test github.com/robfig/revel
- go test github.com/robfig/revel/cache
- go test github.com/robfig/revel/harness
# Ensure the new-app flow works (plus the other commands).
- revel new my/testapp
- revel test my/testapp
- revel clean my/testapp
- revel build my/testapp build/testapp
- revel package my/testapp
# Build & run the sample apps
- revel test github.com/robfig/revel/samples/booking
- revel test github.com/robfig/revel/samples/chat
- revel test github.com/robfig/revel/samples/facebook-oauth2
- revel test github.com/robfig/revel/samples/twitter-oauth
- revel test github.com/robfig/revel/samples/validation
- revel test github.com/robfig/revel/samples/chat