aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2019-02-07 09:28:29 -0500
committerPaul Ganssle <paul@ganssle.io>2019-02-23 11:38:55 -0600
commit675c690b4d8e55cd3c94a177d31b3a7937b2dd16 (patch)
tree6e9c00aa4b0d29a12436093a5a1f5f7f940a4004
parentb224605a8c16b2a713120bf0d484fa12ce781f02 (diff)
downloadexternal_python_setuptools-675c690b4d8e55cd3c94a177d31b3a7937b2dd16.tar.gz
external_python_setuptools-675c690b4d8e55cd3c94a177d31b3a7937b2dd16.tar.bz2
external_python_setuptools-675c690b4d8e55cd3c94a177d31b3a7937b2dd16.zip
Require network in CI builds
-rw-r--r--.travis.yml1
-rw-r--r--appveyor.yml1
-rw-r--r--tox.ini2
3 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d1febccb..09c3817e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -63,6 +63,7 @@ install:
- "! grep pyc setuptools.egg-info/SOURCES.txt"
script:
+ - export NETWORK_REQUIRED=1
- |
( # Run testsuite.
if [ -z "$DISABLE_COVERAGE" ]
diff --git a/appveyor.yml b/appveyor.yml
index ef4a9f7e..7a3d174d 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,6 +3,7 @@ clone_depth: 50
environment:
APPVEYOR: True
+ NETWORK_REQUIRED: True
CODECOV_ENV: APPVEYOR_JOB_NAME
matrix:
diff --git a/tox.ini b/tox.ini
index a31cb1c5..bb940ac0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ list_dependencies_command={envbindir}/pip freeze
setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname}
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
-passenv=APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_*
+passenv=APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED
commands=pytest --cov-config={toxinidir}/tox.ini --cov-report= {posargs}
usedevelop=True