cc2906e2e9
Currently we run the following: * Python and documentation style checks * Documentation build * Python unit tests
29 lines
434 B
YAML
29 lines
434 B
YAML
---
|
|
language: python
|
|
python: "2.7"
|
|
|
|
# Use the new container infrastructure
|
|
sudo: false
|
|
|
|
# Install ansible
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- gcc
|
|
- python-virtualenv
|
|
|
|
install:
|
|
- virtualenv venv
|
|
- venv/bin/pip install -U pip
|
|
- venv/bin/pip install tox
|
|
|
|
script:
|
|
# Run python style checks.
|
|
- venv/bin/tox -e pep8
|
|
|
|
# Build documentation.
|
|
- venv/bin/tox -e docs
|
|
|
|
# Run python2.7 unit tests.
|
|
- venv/bin/tox -e py27
|