1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 16:45:17 +00:00
certidude/.travis.yml

31 lines
808 B
YAML
Raw Normal View History

2017-04-25 19:14:25 +00:00
sudo: required
2015-09-09 05:46:01 +00:00
language: python
dist: trusty
2015-09-09 05:46:01 +00:00
python:
- "2.7"
2015-10-08 10:46:12 +00:00
after_success:
- codecov
virtualenv:
system_site_packages: true
2015-09-09 05:46:01 +00:00
install:
- sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04
- sudo pip install -r requirements.txt
- sudo pip install codecov pytest-cov requests-kerberos
- sudo pip install -e .
2015-10-08 10:46:12 +00:00
script:
- sudo find /home/ -type d -exec chmod 755 {} \; # Allow certidude serve to read templates
- sudo chmod 777 . # Allow forked processes to write .coverage files
2017-05-03 07:04:52 +00:00
- sudo coverage run --parallel-mode --source certidude -m py.test tests
- sudo coverage combine
- sudo coverage report
2017-05-07 20:41:31 +00:00
- sudo coverage xml -i
2015-09-29 12:38:06 +00:00
cache:
directories:
- $HOME/.cache/pip
2016-09-18 15:30:31 +00:00
addons:
hostname: ca
2016-09-18 15:30:31 +00:00
apt:
packages:
- software-properties-common
2017-04-13 20:52:09 +00:00
- python-configparser