1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-11-05 04:48:12 +00:00
certidude/.travis.yml
Lauri Võsandi 59bedc1f16 Major refactor
* Migrate to Python 3
* Update token generator mechanism
* Switch to Bootstrap 4
* Switch from Iconmonstr to Font Awesome icons
* Rename default CA common name to "Certidude at ca.example.lan"
* Add self-enroll for the TLS server certificates
* TLS client auth for lease updating
* Compile assets from npm packages to /var/lib/certidude/ca.example.lan/assets
2017-12-30 14:00:19 +00:00

30 lines
785 B
YAML

sudo: required
language: python
dist: trusty
python:
- "3.4"
after_success:
- codecov
virtualenv:
system_site_packages: true
install:
- sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04
- sudo pip3 install -r requirements.txt
- sudo pip3 install codecov pytest-cov requests-kerberos
- sudo pip3 install -e .
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
- sudo coverage run --parallel-mode --source certidude -m py.test tests
- sudo coverage combine
- sudo coverage report
- sudo coverage xml -i
cache:
directories:
- $HOME/.cache/pip
addons:
hostname: ca
apt:
packages:
- software-properties-common