1language: go 2go: 3 - "1.10.x" 4 - "1.11.x" 5 - "1.12.x" 6 - master 7 8matrix: 9 allow_failures: 10 - go: master 11fast_finish: true 12 13env: 14 global: 15 - CC_TEST_REPORTER_ID=68feaa3410049ce73e145287acbcdacc525087a30627f96f04e579e75bd71c00 16 17before_script: 18 - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter 19 - chmod +x ./cc-test-reporter 20 - ./cc-test-reporter before-build 21 22install: 23 - curl -sL https://taskfile.dev/install.sh | sh 24 25script: 26 - diff -u <(echo -n) <(./bin/task lint) 27 - ./bin/task test-coverage 28 29after_script: 30 - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT 31