summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: 014180b6bac9449682db9bdb77eb913dfca0e2ac (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
language: go

sudo: required
services:
  - docker

go:
 - 1.5
 - 1.6
 - tip

os:
 - linux
 - osx

env:
 - SCENARIO=false
 - SCENARIO=true

matrix:
  allow_failures:
    - go: tip
  exclude:
    - go: 1.5
      env: SCENARIO=true
    - go: tip
      env: SCENARIO=true
    - os: osx
      go: 1.5
    - os: osx
      go: 1.6
      env: SCENARIO=true
    - 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=