1 language: go 2 3 go: 4 - 1.9 5 - "1.10" 6 - "1.11" 7 - "1.12" 8 9 cache: 10 directories: 11 - $HOME/ninjabin 12 13 install: 14 - ./.travis.install-ninja.sh 15 - export PATH=$PATH:~/ninjabin 16 17 before_script: 18 - source .travis.fix-fork.sh 19 20 script: 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