Skip to content

Commit 5ff7828

Browse files
committed
Move 'TIMEOUT' env
Remove PyPy fix script Re-enable PyPy uvloop Increase timeout for PyPy
1 parent a7e6be6 commit 5ff7828

File tree

2 files changed

+24
-36
lines changed

2 files changed

+24
-36
lines changed

.travis-fix-pypy3.sh

-15
This file was deleted.

.travis.yml

+24-21
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,41 @@ language: python
1616
matrix:
1717
include:
1818
- python: "3.4"
19-
env: EVENT_LOOP=asyncio
19+
env:
20+
- EVENT_LOOP=asyncio
21+
- TIMEOUT=2.0
2022
- python: "3.5"
21-
env: EVENT_LOOP=asyncio
23+
env:
24+
- EVENT_LOOP=asyncio
25+
- TIMEOUT=2.0
2226
- python: "3.5"
23-
env: EVENT_LOOP=uvloop
27+
env:
28+
- EVENT_LOOP=uvloop
29+
- TIMEOUT=2.0
2430
before_script: "pip install .[uvloop]"
2531
- python: "3.6"
26-
env: EVENT_LOOP=asyncio
32+
env:
33+
- EVENT_LOOP=asyncio
34+
- TIMEOUT=2.0
2735
- python: "3.6"
28-
env: EVENT_LOOP=uvloop
36+
env:
37+
- EVENT_LOOP=uvloop
38+
- TIMEOUT=2.0
2939
before_script: "pip install .[uvloop]"
30-
- python: "pypy3" # TODO: We actually want pypy3 >= 5.7.0
31-
env: EVENT_LOOP=asyncio
40+
- python: "pypy3" # 2017-08-05: It's pypy3-5.8.0
41+
env:
42+
- EVENT_LOOP=asyncio
43+
- TIMEOUT=16.0
3244
# TODO: Re-enable once pypy3 is able to compile uvloop
33-
# - python: "pypy3" # TODO: We actually want pypy3 >= 5.7.0
34-
# env: EVENT_LOOP=uvloop
35-
# before_script: "pip install .[uvloop]"
45+
- python: "pypy3" # 2017-08-05: It's pypy3-5.8.0
46+
env:
47+
- EVENT_LOOP=uvloop
48+
- TIMEOUT=16.0
49+
before_script: "pip install .[uvloop]"
3650

3751
# Install dependencies
3852
before_install:
3953
- ./.travis-install-libsodium.sh
40-
- export TIMEOUT=2.0
41-
- >
42-
if [[ "$TRAVIS_PYTHON_VERSION" == "pypy3" ]]; then
43-
./.travis-fix-pypy3.sh || travis_terminate 1;
44-
source ${HOME}/venv/bin/activate;
45-
which python;
46-
python --version;
47-
which pip;
48-
pip --version;
49-
export TIMEOUT=12.0
50-
fi
5154
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/libsodium/lib
5255
install:
5356
- pip install -U setuptools pip

0 commit comments

Comments
 (0)