Add test support for python 3.6.

pull/20079/head
Matt Clay 8 years ago
parent b7594070b3
commit f340b8d14f

@ -74,6 +74,7 @@ SUPPORTED_PYTHON_VERSIONS = (
'2.6',
'2.7',
'3.5',
'3.6',
)
COMPILE_PYTHON_VERSIONS = tuple(sorted(SUPPORTED_PYTHON_VERSIONS + ('2.4',)))

@ -4,9 +4,13 @@ set -o pipefail
add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports universe'
add-apt-repository 'ppa:fkrull/deadsnakes'
add-apt-repository 'ppa:jonathonf/python-3.6'
apt-get update -qq
apt-get install python2.4 shellcheck -qq
apt-get install -qq \
shellcheck \
python2.4 \
python3.6 \
pip install tox --disable-pip-version-check

@ -2,6 +2,16 @@
set -o pipefail
add-apt-repository 'ppa:ubuntu-toolchain-r/test'
add-apt-repository 'ppa:jonathonf/python-3.6'
apt-get update -qq
apt-get install -qq \
g++-4.9 \
python3.6-dev \
ln -sf x86_64-linux-gnu-gcc-4.9 /usr/bin/x86_64-linux-gnu-gcc
pip install tox --disable-pip-version-check
ansible-test units --color -v --tox --coverage

Loading…
Cancel
Save