From de3665c23fabb0b0c535453eb5d2c7c658c4f727 Mon Sep 17 00:00:00 2001 From: Quentin Machu Date: Wed, 12 Oct 2016 14:06:40 +0200 Subject: [PATCH] Create .travis.yml Fix #2 --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..66b6de0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: go + +go: + - 1.6 + - 1.5 + - tip + +sudo: false + +before_install: + - export GO15VENDOREXPERIMENT=1 + - RepoName=`basename $PWD`; SrcDir=`dirname $PWD`; DestDir="`dirname $SrcDir`/coreos" + - if [[ "$SrcDir" != "$DestDir" ]]; then mv "$SrcDir" "$DestDir"; cd ../../coreos/$RepoName; export TRAVIS_BUILD_DIR=`dirname $TRAVIS_BUILD_DIR`/$RepoName; fi + +install: + - echo 'nop' + +script: + - go test -v $(go list ./... | grep -v /vendor/) + +notifications: + email: false + +matrix: + allow_failures: + - go: tip