From 3abafaf47515e415ddb04d654041f51a879b4599 Mon Sep 17 00:00:00 2001 From: Steven Allen <steven@stebalien.com> Date: Wed, 19 Jun 2019 14:10:03 +0200 Subject: [PATCH] ci: enable --- .travis.yml | 30 ++++++++++++++++++++++++++++++ codecov.yml | 3 +++ 2 files changed, 33 insertions(+) create mode 100644 .travis.yml create mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ba87d9a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +os: + - linux + +language: go + +go: + - 1.12.x + +env: + global: + - GOTFLAGS="-race" + matrix: + - BUILD_DEPTYPE=gomod + + +# disable travis install +install: + - true + +script: + - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) + + +cache: + directories: + - $GOPATH/pkg/mod + - $HOME/.cache/go-build + +notifications: + email: false diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..5f88a9e --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +coverage: + range: "50...100" +comment: off