From 7e97b2131bc503893e2e3b51e21d3cfcfdfd2186 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 17 May 2016 19:32:14 +0200 Subject: [PATCH] Add support for checking module on python3, like on core (#2235) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 70defe5a26f..461c710e578 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ addons: packages: - python2.4 - python2.6 + - python3.5 before_install: - git config user.name "ansible" - git config user.email "ansible@ansible.com" @@ -20,5 +21,7 @@ script: - python2.4 -m compileall -fq -x 'cloud/|monitoring/zabbix.*\.py|/dnf\.py|/layman\.py|/maven_artifact\.py|clustering/(consul.*|znode)\.py|notification/pushbullet\.py|database/influxdb/influxdb.*\.py' . - python2.6 -m compileall -fq . - python2.7 -m compileall -fq . + - python3.4 -m compileall -fq system/at.py + - python3.5 -m compileall -fq system/at.py - ansible-validate-modules . #- ./test-docs.sh extras