Files
pillar-python-sdk/.travis.yml

28 lines
714 B
YAML

language: python
# Python versions specified to make tox environment 'py35' and 'py36' work.
# See: https://github.com/travis-ci/travis-ci/issues/4794
# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024
matrix:
include:
- python: '2.7'
env: TOXENV=py27
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env: TOXENV=py36
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- tox
after_success:
# Coveralls submission only for py35 environment, because of being the only
# one that executes doctest-modules testing, according to tox.ini.
- if [ ${TOXENV} = "py35" ]; then coveralls; fi