From d8d857fdd325c226ca74eb759959ac0888cdc3f8 Mon Sep 17 00:00:00 2001 From: William Chargin Date: Thu, 4 Oct 2018 12:31:14 -0700 Subject: [PATCH] ci: remove Travis (#914) Summary: Closes #902. CircleCI continues to work fast and well, on both the commit and nightly workflows. Travis continues to be slower. It is time. I have disabled Travis for `sourcecred/sourcecred` via: This commit removes the vestigial configuration files and code. Test Plan: Running `yarn test` still works. Running `yarn test --full` still works, and properly invokes `sharness-full` and the various extra tests. Running `git grep -i travis` yields no results. wchargin-branch: ci-remove-travis --- .travis.yml | 10 ---------- CONTRIBUTING.md | 2 +- config/test.js | 6 +----- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ddcdf08..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -node_js: - - "8" -script: yarn test -notifications: - email: - recipients: - - wchargin+travis-sourcecred@gmail.com - - decentralion+travis-sourcecred@dandelion.io - on_failure: always diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ec58c3a..357a446 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,7 +117,7 @@ to run them all. This will run: can take advantage of this to insert a quick hack and make sure that you remember to remove it later. -This is the same set of tests that is run on our CI system, Travis. +This is the same set of tests that is run on our CI system, CircleCI. ### Updating CHANGELOG.md diff --git a/config/test.js b/config/test.js index 766a8e3..4300bc2 100644 --- a/config/test.js +++ b/config/test.js @@ -7,11 +7,7 @@ const execDependencyGraph = require("../src/tools/execDependencyGraph"); main(); function main() { - const mode = - process.env["TRAVIS_EVENT_TYPE"] === "cron" || - process.argv.includes("--full") - ? "FULL" - : "BASIC"; + const mode = process.argv.includes("--full") ? "FULL" : "BASIC"; execDependencyGraph(makeTasks(mode)).then(({success}) => { process.exitCode = success ? 0 : 1; });