Travis CI: run tests in development mode

Set `mode` to `development` in default.conf after ipa-server-install.

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

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Jan Cholasta 2017-03-10 09:46:45 +00:00 committed by Martin Basti
parent 8fdd7a9ffc
commit fe4489ede2

View File

@ -48,6 +48,8 @@ steps:
install_server: install_server:
- ipa-server-install -U --domain ${server_domain} --realm ${server_realm} -p ${server_password} - ipa-server-install -U --domain ${server_domain} --realm ${server_realm} -p ${server_password}
-a ${server_password} --setup-dns --setup-kra --auto-forwarders -a ${server_password} --setup-dns --setup-kra --auto-forwarders
- sed -ri "s/mode = production/mode = development/" /etc/ipa/default.conf
- systemctl restart httpd.service
lint: lint:
- PYTHON=/usr/bin/python2 make V=0 lint - PYTHON=/usr/bin/python2 make V=0 lint
- PYTHON=/usr/bin/python3 make V=0 pylint - PYTHON=/usr/bin/python3 make V=0 pylint