summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatheus Marchini <mmarchini@netflix.com>2020-03-23 11:41:05 -0700
committerAnna Henningsen <anna@addaleax.net>2020-03-27 16:02:57 +0100
commit7c66f4544abc424c0b18a05fc8ee2793b0c22014 (patch)
treea3ec00f0a2a2a22f55fa3a2fedd197d358a42564 /configure
parentca19d553cf78e335da396756677bd5afb910ed2d (diff)
downloadnode-new-7c66f4544abc424c0b18a05fc8ee2793b0c22014.tar.gz
build: drop Travis in favor of Actions
GitHub Actions is running all tests already present on Travis, as well as building on more platforms (OS X and Windows). With Travis we're also getting timeouts more frequently than with Actions, which gives the false impression tests are failing (making it harder to triage PRs ready to merge). To make our config simpler, CI.yml and pythonpackage.yml got merged. The coverage is also increased by running tests on OS X. Signed-off-by: Matheus Marchini <mmarchini@netflix.com> PR-URL: https://github.com/nodejs/node/pull/32450 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ben Coe <bencoe@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 0 insertions, 3 deletions
diff --git a/configure b/configure
index bc0a01d985..71c2fc87ca 100755
--- a/configure
+++ b/configure
@@ -3,10 +3,7 @@
# Locate an acceptable python interpreter and then re-execute the script.
# Note that the mix of single and double quotes is intentional,
# as is the fact that the ] goes on a new line.
-# When a 'which' call is made for a specific version of Python on Travis CI,
-# pyenv will alert which shims are available and then will fail the build.
_=[ 'exec' '/bin/sh' '-c' '''
-test ${TRAVIS} && exec python "$0" "$@" # workaround for pyenv on Travis CI
test ${FORCE_PYTHON2} && exec python2 "$0" "$@" # workaround for gclient
which python3.8 >/dev/null && exec python3.8 "$0" "$@"
which python3.7 >/dev/null && exec python3.7 "$0" "$@"