mirror of
https://github.com/coredns/coredns.git
synced 2025-11-15 00:12:16 -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: xenial
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
@@ -15,7 +11,7 @@ cache:
|
|||||||
go_import_path: github.com/coredns/coredns
|
go_import_path: github.com/coredns/coredns
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 3
|
depth: 1
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
@@ -29,9 +25,7 @@ env:
|
|||||||
|
|
||||||
# In the Travis VM-based build environment, IPv6 networking is not
|
# In the Travis VM-based build environment, IPv6 networking is not
|
||||||
# enabled by default. The sysctl operations below enable IPv6.
|
# enabled by default. The sysctl operations below enable IPv6.
|
||||||
# IPv6 is needed by some of the CoreDNS test cases. The VM environment
|
# IPv6 is needed by some of the CoreDNS test cases.
|
||||||
# is needed to have access to sudo in the test environment. Sudo is
|
|
||||||
# needed to have docker in the test environment.
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- cat /proc/net/if_inet6
|
- cat /proc/net/if_inet6
|
||||||
|
|||||||
Reference in New Issue
Block a user