From ebf2380af4d2e1777fa1566ba189c680d82fbff3 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 7 Sep 2018 16:13:03 +0300 Subject: [PATCH] travis -- move dependency installation to install section, simplify go test invocation to test all subdirs in one go --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 48ee22fd..bcd2fdc7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,10 @@ os: - linux - osx -script: - - cd dnsfilter && go get -d -t . && go test - - cd ../coredns_plugin && go get -d -t . && go test - - cd .. && make +install: + - go get -d -t ./... + +script: + - go test ./... + - make