From 50fc7d34e35efea54b9544fc44b476cd0c54b336 Mon Sep 17 00:00:00 2001 From: Kevin Atkinson Date: Fri, 17 Nov 2017 14:35:57 -0500 Subject: [PATCH] Update Travis CI to use standard test script. --- .travis.yml | 12 ++++++------ codecov.yml | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 codecov.yml diff --git a/.travis.yml b/.travis.yml index e98468b..7e87c4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,16 +7,16 @@ env: - IPFS_REUSEPORT=false go: - - 1.8 - - 1.9 + - 1.8.x + - 1.9.x install: true -script: - - ulimit -n 2048 +before_install: - make deps - - go vet - - go test ./... + +script: + - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) cache: directories: 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