github.com/gonum/matrix@v0.0.0-20181209220409-c518dec07be9/.travis.yml (about)

     1  sudo: false
     2  
     3  language: go
     4  
     5  # Versions of go that are explicitly supported by gonum.
     6  go:
     7   - 1.5.4
     8   - 1.6.3
     9   - 1.7.3
    10  
    11  # Required for coverage, and testing.
    12  before_install:
    13   - go get golang.org/x/tools/cmd/cover
    14   - go get github.com/mattn/goveralls
    15  
    16  # Get deps, build, test, and ensure the code is gofmt'ed.
    17  # If we are building as gonum, then we have access to the coveralls api key, so we can run coverage as well.
    18  script:
    19   - go get -d -t -v ./...
    20   - go build -x -v ./...
    21   - go test -a -x -v ./...
    22   - go test -a -tags bounds -x -v ./...
    23   - go test -a -tags noasm -x -v ./...
    24   - go test -a -tags appengine -x -v ./...
    25   - test -z "$(gofmt -d .)"
    26   - if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash .travis/test-coverage.sh; fi
    27   # This is run last since it alters the tree.
    28   - ${TRAVIS_BUILD_DIR}/.travis/check-generate.sh