From 575d7e41622c528c1b4c51d445ed0b1a87e682e1 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Tue, 9 Aug 2016 13:48:52 +0200 Subject: [PATCH] update travis.yml to run tests and build only for current platform --- .travis.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2da35eea..7fd94da1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,21 @@ +# we need trusty because test-cmd depends on jq version >= 1.5 +dist : trusty sudo: required + language: go go: - 1.6 -branches: - only: - - master - install: -- go get github.com/mitchellh/gox -- go get github.com/tools/godep -- ./script/godep-restore.sh + - true script: -- make binary + - make binary + # $GOPATH/bin is in $PATH + - mkdir $GOPATH/bin + - cp kompose $GOPATH/bin/ + + - make test-unit + - make test-cmd