File: .travis.yml

package info (click to toggle)
golang-github-oschwald-geoip2-golang 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 92 kB
  • sloc: makefile: 3
file content (24 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: go

go:
 - 1.4
 - 1.5
 - 1.6
 - 1.7
 - 1.8
 - tip

matrix:
  allow_failures:
    - go: tip

before_install:
  - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go get -v github.com/golang/lint/golint; fi"

script:
  - go test -race -cpu 1,4 -v
  - go test -race -v -tags appengine
  - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go vet ./...; fi"
  - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then golint .; fi"

sudo: false