1language: go 2 3go: 4 - 1.9 5 - "1.10" 6 - "1.11" 7 - "1.12" 8 9cache: 10 directories: 11 - $HOME/ninjabin 12 13install: 14 - ./.travis.install-ninja.sh 15 - export PATH=$PATH:~/ninjabin 16 17before_script: 18 - source .travis.fix-fork.sh 19 20script: 21 - export GOROOT=$(go env GOROOT) 22 - ./.travis.gofmt.sh 23 - go test ./... 24 - go test -race -short ./... 25 - ./tests/test.sh 26 - ./tests/test_tree_tests.sh 27 - ./tests/test_tree_tests.sh -t 28