summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: bcffa23baf29159b9fc00e68f43c1f2650c515c4 (plain)
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
language: go

go:
  - 1.6
  - 1.7

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y libpam-dev

script:
  - go build -v -tags 'cert sqlite pam miniwinsvc'
  - |
    for pkg in $(go list ./... | grep -v /vendor/)
    do
      go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
    done

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

notifications:
  webhooks:
    on_success: change
    on_failure: always
    on_start: never
    urls:
      - https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
      - https://webhooks.gitter.im/e/87428658ef177ce8a7e4
      - https://webhooks.gitter.im/e/a1d2b69804dfda72187e