forked from eventlet/eventlet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: python
python: 2.7
env:
- TOX_ENV=pep8
- TOX_ENV=py26selects
- TOX_ENV=py26poll
- TOX_ENV=py26epolls
- TOX_ENV=py27selects
- TOX_ENV=py27poll
- TOX_ENV=py27epolls
- TOX_ENV=py33selects
- TOX_ENV=py33poll
- TOX_ENV=py33epolls
- TOX_ENV=pypyselects
- TOX_ENV=pypypoll
- TOX_ENV=pypyepolls
matrix:
fast_finish: true
allow_failures:
- env: TOX_ENV=pep8
- env: TOX_ENV=py33selects
- env: TOX_ENV=py33poll
- env: TOX_ENV=py33epolls
- env: TOX_ENV=pypyselects
- env: TOX_ENV=pypypoll
- env: TOX_ENV=pypyepolls
install:
- sudo apt-get update -qq
- sudo apt-get install -qq libssl-dev libmysqlclient-dev libpq-dev libzmq3-dev
- pip install --upgrade pip setuptools tox virtualenv
before_script:
- "export EVENTLET_DB_TEST_AUTH='{\"psycopg2\": {\"user\": \"postgres\"}, \"MySQLdb\": {\"passwd\": \"\", \"host\": \"localhost\", \"user\": \"root\"}}'"
script:
- tox -v -v -e $TOX_ENV
after_failure:
- for X in .tox/$TOX_ENV/log/*; do echo "$X\n"; cat "$X"; echo "\n\n"; done
- echo "pip.log\n"; cat $HOME/.pip/pip.log