github.com/grantbow/fit@v0.7.1-0.20220916164603-1f7c88ac81e6/.travis.yml (about)

     1  language: go
     2  dist: jammy
     3  os:
     4      - linux
     5      - osx
     6      - windows
     7  env:
     8      global:
     9        - GO111MODULE=on
    10  go:
    11      - 1.18
    12      - 1.19
    13  git:
    14      depth: 3
    15  addons:
    16      apt:
    17          packages:
    18              - git
    19              - mercurial
    20      
    21  before_install:
    22      - git config user.name 'Example User' 
    23      - git config user.email 'example@example.com'
    24      - git config -l
    25      - git --version
    26      - |
    27        if [ $TRAVIS_OS_NAME == "windows" ]; then
    28          choco install hg
    29          export PATH="$PATH:/c/Program Files/Mercurial/"
    30        fi
    31      - hg --version
    32  
    33  script:
    34      - env GO111MODULE=on bash ./test/test.sh
    35  after_success:
    36      - bash <(curl -s https://codecov.io/bash) || echo "Codecov coverage report upload error"