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:
Miek Gieben
2019-04-06 14:38:51 +01:00
committed by GitHub
parent 0e2467d3ed
commit e3f9a80b1d

View File

@@ -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