summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 9ce91ab55a4ccd2bf6c536eb8f1f35acf1eb7f5c (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: go

sudo: required
services:
  - docker

go:
 - 1.5
 - 1.6
 - 1.7
 - tip

os:
 - linux
 - osx

env:
 - SCENARIO=false
 - SCENARIO=true

before_install:
 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0; fi
 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0; fi

matrix:
  allow_failures:
    - go: tip
  exclude:
    - go: 1.5
      env: SCENARIO=true
    - go: tip
      env: SCENARIO=true
    - go: 1.7
      env: SCENARIO=true
    - os: osx
      go: 1.5
    - os: osx
      go: 1.6
      env: SCENARIO=true
    - os: osx
      go: 1.7
    - os: osx
      go: tip

go_import_path: github.com/osrg/gobgp

script:
 - if [[ "$TRAVIS_GO_VERSION" == "1.5" ]]; then test -z "$(go fmt ./...)"; fi && bash test/scenario_test/ci-scripts/travis-build-script.sh $SCENARIO

notifications:
 slack:
  secure: KzuC9kytzS7wTlfj4MqSg8EpqXfJRMbo59dAVTA3w587achnVCS3vhUenWuhMCiWk7+6DVWwNpwzn2+A0S6RwMFMpKAU6Ij6K9sxEOgqBGuMN8w1//w+uJTryzsnebEIhInGt2kKfqz4Wx3QQqW5gVhI+8s+c5M0iXxFtN4soVk=