From 4be90b201e14b66213b10906592c459a31dc7067 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 25 Nov 2019 14:59:26 +0100 Subject: [PATCH] Remove Travis as a CI platform (#6369) It's currently causing weird unknown problems in React tests that run successfully everywhere else, and by now all the tests that run on Travis also run on CircleCI, so Travis is not needed anymore. Signed-off-by: Julius Volz --- .circleci/config.yml | 2 +- .promu.yml | 2 +- .travis.yml | 22 ---------------------- README.md | 3 +-- 4 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index b5ae35cbd..55496f2f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ orbs: go: circleci/go@0.2.0 executors: - # Whenever the Go version is updated here, .travis.yml and .promu.yml + # Whenever the Go version is updated here, .promu.yml # should also be updated. golang: docker: diff --git a/.promu.yml b/.promu.yml index 32b1c8833..273477cc5 100644 --- a/.promu.yml +++ b/.promu.yml @@ -1,5 +1,5 @@ go: - # Whenever the Go version is updated here, .travis.yml and + # Whenever the Go version is updated here, # .circle/config.yml should also be updated. version: 1.13 repository: diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 303517d9b..000000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: go - -# Whenever the Go version is updated here, .circleci/config.yml and .promu.yml -# should also be updated. -go: -- 1.13.x - -go_import_path: github.com/prometheus/prometheus - -# This ensures that the local cache is filled before running the CI. -# travis_retry retries the command 3 times if it fails as we've experienced -# random issues on Travis. -before_install: -- travis_retry make deps -- . $HOME/.nvm/nvm.sh -- nvm install stable -- nvm use stable -- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install make; fi - -script: -- make check_license style unused test lint -- git diff --exit-code diff --git a/README.md b/README.md index 1320ed0d7..4c2fd6f72 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ For more information on building, running, and developing on the new React-based ## More information * The source code is periodically indexed: [Prometheus Core](https://godoc.org/github.com/prometheus/prometheus). - * You will find a Travis CI configuration in `.travis.yml`. + * You will find a CircleCI configuration in `.circleci/config.yml`. * See the [Community page](https://prometheus.io/community) for how to reach the Prometheus developers and users on various communication channels. ## Contributing @@ -114,7 +114,6 @@ Refer to [CONTRIBUTING.md](https://github.com/prometheus/prometheus/blob/master/ Apache License 2.0, see [LICENSE](https://github.com/prometheus/prometheus/blob/master/LICENSE). -[travis]: https://travis-ci.org/prometheus/prometheus [hub]: https://hub.docker.com/r/prom/prometheus/ [circleci]: https://circleci.com/gh/prometheus/prometheus [quay]: https://quay.io/repository/prometheus/prometheus