1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

travis: Set FQDN in advance

This commit is contained in:
Lauri Võsandi 2017-12-30 20:28:48 +02:00
parent 79ae57dc04
commit 6fb7cbbcc7

View File

@ -11,6 +11,7 @@ install:
- sudo pip3 install -r requirements.txt - sudo pip3 install -r requirements.txt
- sudo pip3 install codecov pytest-cov requests-kerberos - sudo pip3 install codecov pytest-cov requests-kerberos
- sudo pip3 install -e . - sudo pip3 install -e .
- echo 127.0.1.1 ca.example.lan ca | sudo tee -a /etc/hosts
script: script:
- sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates - sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates
- sudo coverage run --parallel-mode --source certidude -m py.test tests - sudo coverage run --parallel-mode --source certidude -m py.test tests