ssh-audit/.travis.yml

55 lines
1.2 KiB
YAML
Raw Normal View History

2016-09-28 15:10:15 +02:00
language: python
2017-03-26 04:39:24 +02:00
sudo: false
matrix:
include:
- python: 2.6
env: TOXENV=py26
- python: 2.7
env: TOXENV=py27
- python: 3.3
env: TOXENV=py33
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7-dev
env: TOXENV=py37
- python: nightly
env: TOXENV=py37
- python: pypy
env: TOXENV=pypy
- python: pypy3
env: TOXENV=pypy3
- python: pypy3.3-5.2-alpha1
env: TOXENV=pypy3
- python: pypy3.3-5.5-alpha
env: TOXENV=pypy3
allow_failures:
- python: pypy3
- python: 3.7-dev
- python: nightly
2016-09-28 15:10:15 +02:00
install:
- pip install --upgrade tox coveralls codecov
2016-09-28 15:10:15 +02:00
script:
- |
if [ -z "${TOXENV##*py3*}" ]; then
if [ -z "${TOXENV##*pypy3*}" ]; then
_pydir=$(dirname $(which python))
ln -s -- "${_pydir}/python" "${_pydir}/pypy3"
export TOXENV=${TOXENV}-test,${TOXENV}-lint
else
export TOXENV=${TOXENV}-test,${TOXENV}-type,${TOXENV}-lint
fi
else
export TOXENV=${TOXENV}-test,${TOXENV}-lint
fi
2017-03-26 04:39:24 +02:00
- tox -e $TOXENV,cov
2016-10-10 12:05:25 +02:00
after_success:
- coveralls
- codecov
after_failure:
- cat .tox/log/*
- cat .tox/*/log/*