From c0237a3cdb847713e1a0481ec50288b3f350a63d Mon Sep 17 00:00:00 2001 From: z7zmey Date: Mon, 6 Aug 2018 20:52:57 +0300 Subject: [PATCH] init travis --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8d46111 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: go +before_script: + - go get -u golang.org/x/tools/cmd/goyacc + - go get -u github.com/kylelemons/godebug/pretty + - go get -u github.com/cznic/golex/lex + - go get -u github.com/yookoala/realpath + - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + - chmod +x ./cc-test-reporter + - ./cc-test-reporter before-build +script: + - go test -coverprofile c.out ./... +after_script: + - ./cc-test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT \ No newline at end of file