Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (40 sloc) 1.46 KB
language: go
go: 1.2
services:
- memcache # github.com/robfig/revel/cache
- redis-server
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
# Sleep between tests to avoid spurious "address already in use" failures.
- revel test github.com/robfig/revel/samples/booking
- sleep 30
- revel test github.com/robfig/revel/samples/chat
- sleep 30
- revel test github.com/robfig/revel/samples/facebook-oauth2
- sleep 30
- revel test github.com/robfig/revel/samples/twitter-oauth
- sleep 30
- revel test github.com/robfig/revel/samples/validation
- sleep 30
- revel test github.com/robfig/revel/samples/chat