travis: fix pylint execution with py3

Python version was placed at wrong position, py3 hasn't been tested at
all in travis.

https://pagure.io/freeipa/issue/4985

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Martin Basti 2017-05-26 23:05:17 +02:00
parent 6e67978356
commit cba678d846

View File

@ -51,8 +51,8 @@ steps:
- sed -ri "s/mode = production/mode = development/" /etc/ipa/default.conf
- systemctl restart httpd.service
lint:
- PYTHON=/usr/bin/python2 make V=0 lint
- PYTHON=/usr/bin/python3 make V=0 pylint
- make PYTHON=/usr/bin/python2 V=0 lint
- make PYTHON=/usr/bin/python3 V=0 pylint
prepare_tests:
- echo ${server_password} | kinit admin && ipa ping
- cp -r /etc/ipa/* ~/.ipa/