language: go
go_import_path: github.com/fhs/go-netcdf

env:
  global:
    - GO111MODULE=on

go:
  - "1.10.x"
  - "1.11.x"
  - "1.12.x"

before_install:
  - sudo apt-get update -q -y
  - sudo apt-get install libnetcdf-dev -y

script:
  - go install -v ./...
  - test `gofmt -l . | wc -l` = 0
  - go test -v ./...

language: go
go_import_path: github.com/fhs/go-netcdf

env:
  global:
    - GO111MODULE=on

go:
  - "1.10.x"
  - "1.11.x"
  - "1.12.x"

before_install:
  - sudo apt-get update -q -y
  - sudo apt-get install libnetcdf-dev -y

script:
  - go install -v ./...
  - test `gofmt -l . | wc -l` = 0
  - go test -v ./...

after_success:
  - bash <(curl -s https://codecov.io/bash)

Send coverage report to codecov
Send coverage report to codecov
