language: go

# Must generate the parser before installing deps or go get will error out on
# undefined lexer tokens.
before_install:
 - make vm/parser.go

# Default dependency installation command, which is disabled when Makefile
# detected.  Also install three tools for measuring coverage and sending to
# coveralls.io.
install:
 - travis_retry go get -t -v ./...
 - travis_retry go get golang.org/x/tools/cmd/cover
 - travis_retry go get github.com/modocache/gover
 - travis_retry go get github.com/mattn/goveralls

# Run all tests, under race detector.
script: make testrace

# If the full suite passes, run again to collect coverage, merge all of the
# packages reports, and send to coveralls.io.
after_success:
 - make coverage
 - goveralls -coverprofile=gover.coverprofile -service=travis-ci

# Run tests at these Go versions.
go:
  - tip
  - 1.4

# Allow tip to fail, and only wait for 1.4 to succeed before reporting build
# status.
matrix:
  fast_finish: true
  allow_failures:
    - go: tip


# Not using sudo, can use containers.
sudo: false

language: go

# Must generate the parser before installing deps or go get will error out on
# undefined lexer tokens.
before_install:
 - make vm/parser.go

# Default dependency installation command, which is disabled when Makefile
# detected.  Also install three tools for measuring coverage and sending to
# coveralls.io.
install:
 - travis_retry go get -t -v ./...
 - travis_retry go get golang.org/x/tools/cmd/cover
 - travis_retry go get github.com/modocache/gover
 - travis_retry go get github.com/mattn/goveralls

# Run all tests, under race detector.
script: make testrace

# If the full suite passes, run again to collect coverage, merge all of the
# packages reports, and send to coveralls.io.
after_success:
 - make coverage
 - goveralls -coverprofile=gover.coverprofile -service=travis-ci

# Run tests at these Go versions.
go:
  - tip
  - 1.5
  - 1.4

# Allow tip to fail, and only wait for 1.4 to succeed before reporting build
# status.
matrix:
  fast_finish: true
  allow_failures:
    - go: tip
    - go: 1.5


# Not using sudo, can use containers.
sudo: false

Add Go 1.5 to the build matrix, but allow it to fail as we haven't tested against it yet.
Add Go 1.5 to the build matrix, but allow it to fail as we haven't
tested against it yet.
