From 9cb6df948a1f1f48693f92c773ed603227315004 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Monette Date: Thu, 20 Apr 2017 14:55:51 +0100 Subject: [PATCH] Add Travis CI configuration --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2fa9467 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +env: +- GOPATH=$HOME/go PATH=$GOPATH/bin:$PATH +before_script: +- npm install -g coveralls codeclimate-test-reporter +- go get github.com/jpmonette/apexcov +script: +- apexcov --username="${CI_USERNAME}" --password="${CI_PASSWORD}" +- "cat ./coverage/lcov.info | coveralls" +- codeclimate-test-reporter < ./coverage/lcov.info \ No newline at end of file