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 matrix: allow_failures: - go: tip 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 DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=bgp_zebra_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=evpn_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=flow_spec_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=flow_spec_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=global_policy_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=graceful_restart_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=ibgp_router_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_reflector_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_as2_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_ipv4_v6_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_malformed_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_policy_grpc_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_policy_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_softreset_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_test.py DOCKER_IMAGE=gobgp sudo: required services: - docker - env: - TEST=route_server_test2.py DOCKER_IMAGE=gobgp sudo: required services: - docker cache: pip: true go_import_path: github.com/osrg/gobgp notifications: slack: secure: KzuC9kytzS7wTlfj4MqSg8EpqXfJRMbo59dAVTA3w587achnVCS3vhUenWuhMCiWk7+6DVWwNpwzn2+A0S6RwMFMpKAU6Ij6K9sxEOgqBGuMN8w1//w+uJTryzsnebEIhInGt2kKfqz4Wx3QQqW5gVhI+8s+c5M0iXxFtN4soVk=