certidude/.travis.yml

36 lines
829 B
YAML
Raw Permalink 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:
- pip install -r requirements.txt
- pip install --editable .
2017-04-25 18:53:02 +00:00
- pip install codecov pytest-cov click ipaddress humanize falcon simplepam
2015-10-08 10:46:12 +00:00
script:
2017-04-25 19:14:25 +00:00
- sudo useradd adminbot -G sudo -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
- sudo useradd userbot -G users -p '$1$PBkf5waA$n9EV6WJ7PS6lyGWkgeTPf1'
2017-04-25 19:29:49 +00:00
- sudo chmod 755 /etc/shadow
- py.test --cov-report xml --cov=certidude tests/
2015-09-29 12:38:06 +00:00
cache:
directories:
- $HOME/.cache/pip
2016-09-18 15:30:31 +00:00
addons:
hostname: ca
hosts:
- ca.example.lan ca
- router.example.lan router
2016-09-18 15:30:31 +00:00
apt:
packages:
- python-xattr
2017-04-13 20:52:09 +00:00
- python-setproctitle
- python-markdown
- python-jinja2
- python-configparser
2017-04-13 21:10:05 +00:00
- python-pyasn1
- python-openssl