From 4a749cd5c87d6b2102feb98052e196d62f55a20f Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 26 Mar 2020 13:50:24 -0700 Subject: [PATCH] chore(ci): switch to circle and test with both race enabled & disabled --- .circleci/config.yml | 14 ++++++++++++++ .travis.yml | 28 ---------------------------- 2 files changed, 14 insertions(+), 28 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6258fe5 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,14 @@ +version: 2.1 +orbs: + ci-go: ipfs/ci-go@0.2 + +workflows: + version: 2 + test: + jobs: + - ci-go/build + - ci-go/lint + - ci-go/test + - ci-go/test: + race: true + name: "ci-go/test/race" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f32dfd1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -os: - - linux - -language: go - -go: - - 1.11.x - -env: - global: - - GOTFLAGS="-race" - - 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 -- GitLab