github.com/BenLubar/git-last-modified@v0.1.1-0.20210215221858-9b8031919630/.travis.yml (about)

     1  sudo: false
     2  language: go
     3  go: 1.x
     4  
     5  before_script:
     6    - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
     7    - chmod +x ./cc-test-reporter
     8    - ./cc-test-reporter before-build
     9  
    10  script:
    11    - go test -coverprofile c.out ./...
    12  
    13  after_script:
    14    - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT