deb-python-eventlet/.travis.yml
2017-01-05 09:06:15 +03:00

72 lines
2.0 KiB
YAML

sudo: false
language: python
matrix:
fast_finish: true
include:
- {python: 3.5, env: TOX_ENV=pep8}
- {python: 2.6, env: TOX_ENV=py26-epolls}
- {python: 2.6, env: TOX_ENV=py26-poll}
- {python: 2.6, env: TOX_ENV=py26-selects}
- {python: 2.7, env: TOX_ENV=py27-epolls}
- {python: 2.7, env: TOX_ENV=py27-poll}
- {python: 2.7, env: TOX_ENV=py27-selects}
- {python: 3.3, env: TOX_ENV=py33-epolls}
- {python: 3.3, env: TOX_ENV=py33-poll}
- {python: 3.3, env: TOX_ENV=py33-selects}
- {python: 3.4, env: TOX_ENV=py34-epolls}
- {python: 3.4, env: TOX_ENV=py34-poll}
- {python: 3.4, env: TOX_ENV=py34-selects}
- {python: 3.5, env: TOX_ENV=py35-epolls}
- {python: 3.5, env: TOX_ENV=py35-poll}
- {python: 3.5, env: TOX_ENV=py35-selects}
- {python: 3.6-dev, env: TOX_ENV=py36-epolls}
- {python: 3.6-dev, env: TOX_ENV=py36-poll}
- {python: 3.6-dev, env: TOX_ENV=py36-selects}
- {python: pypy, env: TOX_ENV=pypy-epolls}
- {python: pypy, env: TOX_ENV=pypy-poll}
- {python: pypy, env: TOX_ENV=pypy-selects}
allow_failures:
- env: TOX_ENV=py26-epolls
- env: TOX_ENV=py26-poll
- env: TOX_ENV=py26-selects
- env: TOX_ENV=pypy-epolls
- env: TOX_ENV=pypy-poll
- env: TOX_ENV=pypy-selects
cache:
apt: true
ccache: true
pip: true
directories:
- $HOME/.cache
addons:
apt_packages:
- ccache
- libmysqlclient-dev
- libpq-dev
- libssl-dev
- libzmq3-dev
install:
- pip install --upgrade pip setuptools tox virtualenv codecov
before_script:
- "export EVENTLET_DB_TEST_AUTH='{\"psycopg2\": {\"user\": \"postgres\"}, \"MySQLdb\": {\"passwd\": \"\", \"host\": \"localhost\", \"user\": \"root\"}}'"
- "export PATH=/usr/lib/ccache:$PATH"
script:
- tox -v -v -e $TOX_ENV
- codecov --flags=$(echo $TOX_ENV |tr -d '-.')
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
notifications:
slack: eventlet-net:OYrQ1JE3hdTD78yQY1yZJnnc