WIP: travis changes
* 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.
* This?
-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
