language: go
install:
- cd $TRAVIS_BUILD_DIR
- export GOPATH=$TRAVIS_BUILD_DIR
- go build -v ./...
script:
- go test bacaberita/...


language: go
before_install:
- pushd $HOME
- wget -q http://googleappengine.googlecode.com/files/go_appengine_sdk_linux_amd64-1.8.0.zip
- unzip -q go_appengine_sdk_linux_amd64-1.8.0.zip
- cd google_appengine
- export GAE=$(pwd)
- popd
install:
- cd $TRAVIS_BUILD_DIR
- export GOPATH=$TRAVIS_BUILD_DIR
- export GOHOME=$GAE
- export PATH=$GAE:$PATH
- which go
- go env
script:
- go test -v ./...


Use Google App Engine SDK for Go in Travis-CI
Use Google App Engine SDK for Go in Travis-CI

Notes:
- The build machine is amd64, not i386. So use SDK for amd64
- Extract the SDK into the home directory, not project directory
