Files
puppetboard/.travis.yml
Mike Terzo 1e5f683b66 Moving version to a single place in version.py (#358)
* Moving version to a single place in version.py
* Requirements in setup.py + tox.ini
2017-02-13 00:35:15 -05:00

33 lines
719 B
YAML

language: python
python:
- "2.6"
- "2.7"
- "3.5"
- "3.6"
env:
global:
- TEST_DEPS="True"
matrix:
- DEPS_RESOLVE=""
- DEPS_RESOLVE="PINNED"
- DEPS_RESOLVE="UNPINNED"
matrix:
allow_failures:
- env: DEPS_RESOLVE="UNPINNED"
install:
# Travis already include pytest, need to upgrade it when unpinned
- if [[ "${DEPS_RESOLVE}" == "UNPINNED" ]]; then pip install -U pytest; fi
- pip install -r requirements.txt
- pip install -q coveralls --use-wheel
script:
- py.test --cov=puppetboard --pep8 -v
- if [ "${TRAVIS_PYTHON_VERSION}" != "2.6" ]; then bandit -r puppetboard; fi
- if [ "${TRAVIS_PYTHON_VERSION}" != "2.6" ]; then bandit -r tests; fi
after_success:
- coveralls