2015-08-24 11:53:29 +00:00
|
|
|
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2016-10-31 20:28:12 +00:00
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2017-03-17 11:12:42 +00:00
|
|
|
- "3.6"
|
2016-10-28 18:51:45 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
|
|
|
|
before_install:
|
2017-08-18 08:46:08 +00:00
|
|
|
- pip install -U pip wheel
|
|
|
|
- pip install -U setuptools
|
2017-12-03 19:45:00 +00:00
|
|
|
- pip install -U pylint coverage pycodestyle pydocstyle
|
2016-01-09 15:46:07 +00:00
|
|
|
|
|
|
|
install:
|
2017-12-03 19:45:00 +00:00
|
|
|
- pip install -U -e .
|
2016-01-09 15:46:07 +00:00
|
|
|
|
|
|
|
script:
|
2017-12-03 19:45:00 +00:00
|
|
|
- pycodestyle libagent
|
2017-04-27 13:31:17 +00:00
|
|
|
- pylint --reports=no --rcfile .pylintrc libagent
|
|
|
|
- pydocstyle libagent
|
|
|
|
- coverage run --source libagent/ -m py.test -v
|
2016-01-09 15:46:07 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- coverage report
|
|
|
|
|