mirror of
https://github.com/coredns/coredns.git
synced 2025-11-15 08:22:19 -05:00
WIP: travis changes (#2766)
* WIP: travis changes Simplify Travis so it fails less often. We don't need docker any more, let alone trusty and sudo, so simplifies this, to just os: linux. Signed-off-by: Miek Gieben <miek@miek.nl> * This? Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -1,8 +1,4 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
services:
|
||||
- docker
|
||||
dist: xenial
|
||||
|
||||
language: go
|
||||
go:
|
||||
@@ -15,7 +11,7 @@ cache:
|
||||
go_import_path: github.com/coredns/coredns
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
depth: 1
|
||||
|
||||
branches:
|
||||
only:
|
||||
@@ -29,9 +25,7 @@ env:
|
||||
|
||||
# In the Travis VM-based build environment, IPv6 networking is not
|
||||
# enabled by default. The sysctl operations below enable IPv6.
|
||||
# IPv6 is needed by some of the CoreDNS test cases. The VM environment
|
||||
# is needed to have access to sudo in the test environment. Sudo is
|
||||
# needed to have docker in the test environment.
|
||||
# IPv6 is needed by some of the CoreDNS test cases.
|
||||
|
||||
before_install:
|
||||
- cat /proc/net/if_inet6
|
||||
|
||||
Reference in New Issue
Block a user