| language: python |
| sudo: false |
| dist: trusty |
| os: linux |
| |
| # Note: graphviz is needed for grapgs embedded in the docs |
| addons: |
| apt: |
| packages: |
| - graphviz |
| - libvirt-dev |
| |
| matrix: |
| fast_finish: true |
| include: |
| - python: 2.7 |
| before_script: TOX_ENV=py2.7,py2.7-dist |
| - python: 3.4 |
| - python: 3.5 |
| - python: 3.6 |
| - python: 3.7 |
| dist: xenial |
| sudo: required |
| before_script: TOX_ENV=py3.7,py3.7-dist |
| - python: 3.8 |
| dist: xenial |
| sudo: required |
| - python: pypy |
| - python: pypy3 |
| - env: ENV=checks |
| python: 2.7 |
| before_script: TOX_ENV=checks |
| - env: ENV=lint |
| python: 2.7 |
| before_script: TOX_ENV=lint |
| - env: ENV=pylint |
| python: 2.7 |
| before_script: TOX_ENV=pylint |
| - env: ENV=mypy |
| python: 3.7 |
| dist: xenial |
| sudo: required |
| before_script: TOX_ENV=mypy |
| - env: ENV=coverage |
| python: 2.7 |
| before_script: TOX_ENV=coverage-travis |
| - env: |
| - ENV=docs |
| - secure: "d4F2RE2iWFh6yqE5MUxnakDihBMsY/hMsaMWllVAYU/fvCMKhaW97d51EiS55kur/eNVX2jpEqkVkSu5VeNSxC3w9sZTG+dHVb8A43o9QaSCPngvHTZ4X9fx8lB96G7uju6pmm5ovKt85hxZW2uQNYo3ugwCUl94lVDYqo+KJUM=" |
| python: 3.5 |
| before_script: TOX_ENV=docs-travis |
| # Note: graphviz is needed for grapgs embedded in the docs |
| addons: |
| apt: |
| packages: |
| - graphviz |
| - gcc |
| - libvirt-dev |
| # Trigger ReadTheDocs build on docs builder |
| after_success: |
| - pip3 install requests |
| - python3 ./contrib/trigger_rtd_build.py |
| |
| install: |
| - pip install --upgrade "pip==19.1.1" |
| - pip install --upgrade "setuptools==41.6.0" |
| - pip install "virtualenv==16.7.7" |
| - pip install "tox==3.14.0" |
| - TOX_ENV=py$TRAVIS_PYTHON_VERSION |
| |
| script: |
| - tox -e $TOX_ENV --recreate |
| |
| cache: |
| apt: true |
| directories: |
| - $HOME/.cache/pip # pip cache |
| - .tox |
| |
| notifications: |
| # Disabled until ASF switches to new mailing list software |
| # when we can whitelist addresses |
| #email: |
| # - "notifications@libcloud.apache.org" |
| irc: |
| - "chat.freenode.net#libcloud" |