mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Add test support for python 3.6.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user