2016-03-27 21:00:41 +00:00
|
|
|
sudo: required
|
2015-09-09 05:46:01 +00:00
|
|
|
language: python
|
2016-03-27 21:00:41 +00:00
|
|
|
dist: trusty
|
2015-09-09 05:46:01 +00:00
|
|
|
python:
|
2016-03-27 21:00:41 +00:00
|
|
|
- "2.7"
|
2015-10-08 10:46:12 +00:00
|
|
|
after_success:
|
|
|
|
- codecov
|
2016-03-27 21:00:41 +00:00
|
|
|
virtualenv:
|
|
|
|
system_site_packages: true
|
2015-10-08 10:46:12 +00:00
|
|
|
before_install:
|
2016-03-27 21:18:41 +00:00
|
|
|
- sudo apt-get install -qq python-configparser python-setuptools
|
2015-10-08 10:46:12 +00:00
|
|
|
- pip install codecov pytest-cov
|
2015-09-09 05:46:01 +00:00
|
|
|
install:
|
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install --editable .
|
2015-10-08 10:46:12 +00:00
|
|
|
script:
|
|
|
|
- py.test && py.test --cov-report xml --cov=certidude tests/
|
2015-09-29 12:38:06 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|