2015-03-21 06:53:30 +01:00
|
|
|
language: go
|
|
|
|
|
2015-11-09 21:56:38 +01:00
|
|
|
go:
|
2017-07-13 20:09:49 +02:00
|
|
|
- 1.8.3
|
2017-09-14 01:50:27 +02:00
|
|
|
- 1.9
|
2015-11-09 21:56:38 +01:00
|
|
|
|
2015-07-24 05:27:41 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/ninjabin
|
|
|
|
|
2015-03-21 06:53:30 +01:00
|
|
|
install:
|
2015-07-24 05:27:41 +02:00
|
|
|
- ./.travis.install-ninja.sh
|
|
|
|
- export PATH=$PATH:~/ninjabin
|
2015-03-21 06:53:30 +01:00
|
|
|
|
2015-07-24 03:19:18 +02:00
|
|
|
before_script:
|
|
|
|
- source .travis.fix-fork.sh
|
2015-03-21 06:53:30 +01:00
|
|
|
|
|
|
|
script:
|
2017-07-25 23:44:35 +02:00
|
|
|
- export GOROOT=$(go env GOROOT)
|
2016-08-11 19:12:46 +02:00
|
|
|
- ./.travis.gofmt.sh
|
2015-03-21 06:53:30 +01:00
|
|
|
- go test ./...
|
2017-08-01 23:17:27 +02:00
|
|
|
- go test -race -short ./...
|
2017-07-19 04:37:37 +02:00
|
|
|
- ./tests/test.sh
|
|
|
|
- ./tests/test_tree_tests.sh
|
2017-07-19 09:59:57 +02:00
|
|
|
- ./tests/test_tree_tests.sh -t
|