"Fossies" - the Fresh Open Source Software Archive

Member "geoipupdate-4.3.0/.travis.yml" (16 Apr 2020, 612 Bytes) of package /linux/misc/geoipupdate-4.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".travis.yml": 4.2.2_vs_4.3.0.

    1 language: go
    2 
    3 os:
    4   - linux
    5   - osx
    6   - windows
    7 
    8 go:
    9   - "1.10.x"
   10   - "1.11.x"
   11   - "1.12.x"
   12   - "1.13.x"
   13   - "1.14.x"
   14 
   15 before_script:
   16   - |
   17     if [[ $TRAVIS_GO_VERSION == '1.10.x' ]]; then
   18       go get -t -u ./...
   19     fi
   20   - |
   21     if [[ $TRAVIS_GO_VERSION == '1.14.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
   22       curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin
   23     fi
   24 
   25 script:
   26   - go test -v -race ./...
   27   - |
   28     if [[ $TRAVIS_GO_VERSION == '1.14.x' && $TRAVIS_OS_NAME == 'linux' ]]; then
   29       golangci-lint run
   30     fi
   31 
   32 env:
   33   - GO111MODULE=on