2015-03-21 06:53:30 +01:00
|
|
|
language: go
|
|
|
|
|
2015-11-09 21:56:38 +01:00
|
|
|
go:
|
2018-02-27 10:38:08 +01:00
|
|
|
- "1.10"
|
2019-02-28 23:42:04 +01:00
|
|
|
- "1.11"
|
|
|
|
- "1.12"
|
2019-09-06 23:25:28 +02:00
|
|
|
- "1.13"
|
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
|