mirror of https://github.com/jtesta/ssh-audit.git
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
language: python
|
|
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
|
|
install:
|
|
- pip install --upgrade tox coveralls codecov
|
|
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
|
|
- tox -e $TOXENV,cov
|
|
after_success:
|
|
- coveralls
|
|
- codecov
|
|
after_failure:
|
|
- cat .tox/log/*
|
|
- cat .tox/*/log/*
|