language: go

env: PATH=$PATH:$GOBIN:$HOME/gopath/bin

go:
  - 1.1
  - tip

language: go

go:
  - 1.4

before_install:
  - mkdir -p $HOME/gopath/src/sourcegraph.com/sourcegraph
  - mv $TRAVIS_BUILD_DIR $HOME/gopath/src/sourcegraph.com/sourcegraph/rwvfs
  - export TRAVIS_BUILD_DIR=$HOME/gopath/src/sourcegraph.com/sourcegraph/rwvfs
  - cd $TRAVIS_BUILD_DIR

install:
  - go get golang.org/x/tools/cmd/vet

script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d ./)
  - go tool vet -composites=false ./
  - go test -v -race ./...

Fix import path, update to Go 1.4.
Travis: Fix import path, update to Go 1.4.