mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-16 13:35:39 +01:00
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
language: python
|
|
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
|
|
export MYPYBASE=python;
|
|
if [ -z "${TOXENV##*pypy3*}" ]; then
|
|
_pydir=$(dirname $(which python));
|
|
ln -s -- "${_pydir}/python" "${_pydir}/pypy3";
|
|
export TOXENV=${TOXENV},cov,lint;
|
|
else
|
|
export TOXENV=${TOXENV},cov,type,lint;
|
|
fi
|
|
else
|
|
export MYPYBASE=python-unknown;
|
|
export TOXENV=${TOXENV},cov,lint;
|
|
fi
|
|
- tox -e $TOXENV
|
|
after_success:
|
|
- coveralls
|
|
- codecov
|
|
after_failure:
|
|
- cat .tox/log/*
|
|
- cat .tox/*/log/*
|