summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
blob: b100ca3213d7c7103c4ae25972dd11107ab3c1ad (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
language: go

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
install: test/scenario_test/ci-scripts/travis-install-script.sh
script: test/scenario_test/ci-scripts/travis-build-script.sh

env:
  global:
    - DOCKER_IMAGE=gobgp
    - FROM_IMAGE=osrg/quagga

matrix:
  allow_failures:
    - go: tip
    - go: 1.7
      os: osx
  include:
    - go: 1.5
      before_install: true
      install: go get -t ./...
      script: go test ./...
    - go: 1.6
      before_install: true
      install: go get -t ./...
      script: go test ./...
    - go: 1.7
      before_install: true
      install: go get -t ./...
      script: go test ./...
    - go: tip
      before_install: true
      install: go get -t ./...
      script: go test ./...
    - go: 1.7
      os: osx
      before_install: true
      install: go get -t ./...
      script: go test ./...
    - go: 1.7
      before_install: true
      install: true
      script: test -z "$(go fmt ./...)"
    - go: 1.7
      before_install: true
      install: go get ./...
      script: python test/scenario_test/ci-scripts/build_embeded_go.py docs/sources/lib.md
    - env:
        - TEST=bgp_router_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=bgp_zebra_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=evpn_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=flow_spec_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=flow_spec_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=global_policy_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=graceful_restart_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=ibgp_router_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_reflector_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_as2_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_ipv4_v6_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_malformed_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_policy_grpc_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_policy_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_softreset_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=route_server_test2.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=zapi_v3_test.py FROM_IMAGE=osrg/quagga:v1.0
      sudo: required
      services:
        - docker
    - env:
        - TEST=long_lived_graceful_restart_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=vrf_neighbor_test.py
      sudo: required
      services:
        - docker
    - env:
        - TEST=vrf_neighbor_test2.py
      sudo: required
      services:
        - docker

cache:
  pip: true

go_import_path: github.com/osrg/gobgp

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