File: .travis.yml

package info (click to toggle)
golang-github-muesli-crunchy 0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 84 kB
  • sloc: makefile: 2
file content (45 lines) | stat: -rw-r--r-- 768 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: go

os:
  - linux

go:
  - 1.2.x
  - 1.3.x
  - 1.4
  - 1.5.x
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - 1.11.x
  - tip

matrix:
    exclude:
        - os: osx
          go: 1.2.x
        - os: osx
          go: 1.3.x
        - os: osx
          go: 1.4
        - os: osx
          go: 1.5.x
        - os: osx
          go: 1.6.x

sudo: required
before_install:
  - if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
  - sudo apt-get update -qq
  - sudo apt-get install -y cracklib-runtime

script:
  - go test -v -tags ci ./...
  - if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi

notifications:
  email:
    on_success: change
    on_failure: always