File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ matrix:
40
40
- env : TESTENV=python3.4-master-postgres
41
41
- env : TESTENV=python3.4-master-sqlite
42
42
- env : TESTENV=python3.4-master-sqlite_file
43
- before_install :
44
- # Wrap "pip" with "travis_retry" to retry on network failures.
45
- - pip() { travis_retry command pip "$@"; }
46
43
install :
47
- - pip install tox
48
- script : tox -e $TESTENV
44
+ - travis_retry pip install tox
45
+ script : travis_retry tox -e $TESTENV
Original file line number Diff line number Diff line change @@ -220,12 +220,9 @@ def make_travis_yml(envs):
220
220
matrix:
221
221
allow_failures:
222
222
%(allow_failures)s
223
- before_install:
224
- # Wrap "pip" with "travis_retry" to retry on network failures.
225
- - pip() { travis_retry command pip "$@"; }
226
223
install:
227
- - pip install tox
228
- script: tox -e $TESTENV
224
+ - travis_retry pip install tox
225
+ script: travis_retry tox -e $TESTENV
229
226
""" ).strip ("\n " )
230
227
testenvs = '\n ' .join (' - TESTENV=%s' % testenv_name (env ) for env in envs )
231
228
checkenvs = '\n ' .join (' - TESTENV=checkqa-%s' %
You can’t perform that action at this time.
0 commit comments