aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 3a20b4684c4e522babfcec225c718e9083f26cc7 (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.4
  - 1.5
  - 1.6
  - tip

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y libpam-dev
  - go get github.com/msteinert/pam 

install:
  - go get -t -v ./...

script: 
  - go build -v -tags "pam"
  - go test -v -cover -race ./...

notifications:
  email:
    - u@gogs.io
  slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/b590f8e03882f7aedc3e
    on_success: change 
    on_failure: always 
    on_start: never