2019-04-06 14:38:51 +01:00
|
|
|
dist: xenial
|
2019-08-18 11:40:59 +03:00
|
|
|
services:
|
|
|
|
|
- docker
|
2016-03-18 20:57:35 +00:00
|
|
|
language: go
|
|
|
|
|
go:
|
2020-03-24 07:36:01 +01:00
|
|
|
- "1.14.x"
|
2016-07-27 10:01:24 -07:00
|
|
|
|
2019-03-13 00:33:10 -07:00
|
|
|
cache:
|
|
|
|
|
directories:
|
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
|
|
2017-02-21 22:51:47 -08:00
|
|
|
go_import_path: github.com/coredns/coredns
|
2016-09-26 14:22:07 +08:00
|
|
|
|
2017-08-19 17:02:16 +01:00
|
|
|
git:
|
2019-04-06 14:38:51 +01:00
|
|
|
depth: 1
|
2016-09-27 07:57:04 +08:00
|
|
|
|
2018-09-22 15:17:17 +01:00
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
|
2017-08-19 17:02:16 +01:00
|
|
|
env:
|
2019-08-18 11:40:59 +03:00
|
|
|
global:
|
|
|
|
|
# This is FUZZIT_API_KEY
|
|
|
|
|
- secure: "IGpZAyt1e5BZ1C4LeJG+GrgFZzaBQkJ3BX/+MwWN85aJSDk5gwThS53OCr/7RFgBKBgP9xBv9i9hAv0PxVaRE0ETIzjc0rQzceJIWiYKfFYQyscFahKfSiGsWP32rMlU3K67tA7yITS+Z8mMyVH9Ndr1Fg9AmLL+WfATdrd6dP8hzsUpaghKlnJee9TycrfamDpISzecdOY9xzxcwRyphZxuCc/n236Nt7f7Ccz0zx/Qa5igX6mjKZpUyBpS2u02GmNJTfc3W5SbTRP5bSJ+ozSkZZyG3tTpYmeN87AQJ/oG7rUEzqGLt78i7jSYAXghJZT06H/fHFsOKssCj1m0hYiarnGoGzXScLDqp2fpkyzilsUT+W0VgXTy2Nq+88Sideiy6UwDwpqHr5ktyoYFeSVB/aCTJl5oxDxBqs9dfeJSEAy7/AYy8kJoIE/yPYsBnGw10CAED4Rf5mfDgstkZRBdAO0xLBihkPsgza2975DVf27YSjJZ4eKrnR+G/aNCKycLQvWD/5c2bcLCJqyz0uMLQC/4LspS9b5bAKurzqFRdrD5q78NDcbodHelc7zBlFrRwGFCUjXTbQoU6r+1FA8y2Z+n1bd7mIF1JBVHurYAygyYXOcry870hyucGojonvdgBvHp6txeYyPU14VvTNwkF2mddpBCvoSTSPZ5X64="
|
|
|
|
|
matrix:
|
|
|
|
|
- TEST_TYPE=coverage
|
|
|
|
|
- TEST_TYPE=integration
|
|
|
|
|
- TEST_TYPE=core
|
|
|
|
|
- TEST_TYPE=plugin
|
2019-09-10 11:41:56 +01:00
|
|
|
# - TEST_TYPE=fuzzit FUZZIT_TYPE=local-regression
|
|
|
|
|
# - TEST_TYPE=fuzzit FUZZIT_TYPE=fuzzing
|
2017-08-19 17:53:31 +01:00
|
|
|
|
2016-07-27 10:01:24 -07:00
|
|
|
# In the Travis VM-based build environment, IPv6 networking is not
|
|
|
|
|
# enabled by default. The sysctl operations below enable IPv6.
|
2019-04-06 14:38:51 +01:00
|
|
|
# IPv6 is needed by some of the CoreDNS test cases.
|
2017-10-25 15:40:48 -04:00
|
|
|
|
2016-07-27 10:01:24 -07:00
|
|
|
before_install:
|
|
|
|
|
- cat /proc/net/if_inet6
|
|
|
|
|
- uname -a
|
|
|
|
|
- sudo bash -c 'if [ `cat /proc/net/if_inet6 | wc -l` = "0" ]; then echo "Enabling IPv6" ; sysctl net.ipv6.conf.all.disable_ipv6=0 ; sysctl net.ipv6.conf.default.disable_ipv6=0 ; sysctl net.ipv6.conf.lo.disable_ipv6=0 ; fi'
|
|
|
|
|
- cat /proc/net/if_inet6
|
|
|
|
|
- env
|
|
|
|
|
|
2016-03-19 14:55:26 +00:00
|
|
|
script:
|
2017-08-19 17:02:16 +01:00
|
|
|
- make TEST_TYPE=$TEST_TYPE travis
|
2016-09-18 11:01:57 -07:00
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2018-09-25 15:04:27 -07:00
|
|
|
- bash .benchmark.sh
|