summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-ldap/ldap/.travis.yml
blob: 9782c9bac8bbe792cbf7c2d126a3239327592f7e (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
31
language: go
env:
    global:
        - VET_VERSIONS="1.6 1.7 1.8 1.9 tip"
        - LINT_VERSIONS="1.6 1.7 1.8 1.9 tip"
go:
    - 1.2
    - 1.3
    - 1.4
    - 1.5
    - 1.6
    - 1.7
    - 1.8
    - 1.9
    - tip
matrix:
    fast_finish: true
    allow_failures:
        - go: tip
go_import_path: gopkg.in/ldap.v2
install:
    - go get gopkg.in/asn1-ber.v1
    - go get gopkg.in/ldap.v2
    - go get code.google.com/p/go.tools/cmd/cover || go get golang.org/x/tools/cmd/cover
    - go get github.com/golang/lint/golint || true
    - go build -v ./...
script:
    - make test
    - make fmt
    - if [[ "$VET_VERSIONS"  == *"$TRAVIS_GO_VERSION"* ]]; then make vet; fi
    - if [[ "$LINT_VERSIONS" == *"$TRAVIS_GO_VERSION"* ]]; then make lint; fi