Permalink
Fetching contributors…
Cannot retrieve contributors at this time
185 lines (147 sloc) 3.76 KB
sudo: false
dist: trusty
language: python
before_install:
# AWS tools are installed here eg
- export PATH=$PATH:$HOME/.local/bin
# build ID (eg, "20180513-28114a1")
- export BUILD_ID="$(date --utc "+%Y%m%d")-$(git rev-parse --short ${TRAVIS_COMMIT})"
install:
- pip install tox codecov
script:
- tox -c tox.ini -e $TOX_ENV
after_script:
- codecov
cache:
directories:
- $HOME/.cache/pip
matrix:
fast_finish: true
include:
- env: TOX_ENV=flake8
#
# CPython 2.7
#
- python: 2.7
env:
- TOX_ENV=py27-tw154
- python: 2.7
env:
- TOX_ENV=py27-tw187
- python: 2.7
env:
- TOX_ENV=py27-twtrunk
- python: 2.7
env:
- TOX_ENV=py27-asyncio
#
# CPython 3.4
#
- python: 3.4
env:
- TOX_ENV=py34-tw154
- python: 3.4
env:
- TOX_ENV=py34-tw187
- python: 3.4
env:
- TOX_ENV=py34-twtrunk
- python: 3.4
env:
- TOX_ENV=py34-asyncio
#
# CPython 3.6
#
- python: 3.6
env:
- TOX_ENV=py36-tw154
- python: 3.6
env:
- TOX_ENV=py36-tw187
- python: 3.6
env:
- TOX_ENV=py36-twtrunk
- python: 3.6
env:
- TOX_ENV=py36-asyncio
#
# CPython 3.7
#
- python: 3.7
dist: xenial
sudo: required
env:
- TOX_ENV=py37-tw154
- python: 3.7
dist: xenial
sudo: required
env:
- TOX_ENV=py37-tw187
- python: 3.7
dist: xenial
sudo: required
env:
- TOX_ENV=py37-twtrunk
- python: 3.7
dist: xenial
sudo: required
env:
- TOX_ENV=py37-asyncio
#
# PyPy3
#
- python: pypy
env:
- TOX_ENV=pypy-tw154
- python: pypy
env:
- TOX_ENV=pypy-tw187
- python: pypy
env:
- TOX_ENV=pypy-twtrunk
- python: pypy
env:
- TOX_ENV=pypy-asyncio
#
# PyPy3
#
- python: pypy3
env:
- TOX_ENV=pypy3-tw154
- python: pypy3
env:
- TOX_ENV=pypy3-tw187
- python: pypy3
env:
- TOX_ENV=pypy3-twtrunk
- python: pypy3
env:
- TOX_ENV=pypy3-asyncio
# CI notifications
notifications:
# IRC: chat messages on #crossbar-ci @ freenode
irc:
#on_success: always # options: [always|never|change] default: always
#on_failure: always # options: [always|never|change] default: always
#on_start: always # options: [always|never|change] default: always
channels:
- "irc.freenode.org#crossbar-ci"
use_notice: false
skip_join: false
# Gitter: activity feed on https://gitter.im/crossbario/ci
webhooks:
#on_success: always # options: [always|never|change] default: always
#on_failure: always # options: [always|never|change] default: always
#on_start: always # options: [always|never|change] default: always
urls:
# travis encrypt --org --repo crossbario/autobahn-python "https://webhooks.gitter.im/e/7ef..."
- secure: Ik+ULNHCIZGJ6Mwojd6q5xuLu/M8W91EPh5ePVe0DzF8rjNC8Cn6EXz8+dKYig13nh0szpVO8TW8krlTtGHw9zR+ZtnnXEHz/sJCeJsPxH7ZniP8jCja+WX5FhY0GnG6NgZwNZlYfKYpStrpC2F9p2AtsP0fg5HyKsAlbtAytgs=
# Slack: post feed on https://crossbario.slack.com/messages/CAT527K8D
# https://crossbario.slack.com/services/
slack:
#on_success: always # options: [always|never|change] default: always
#on_failure: always # options: [always|never|change] default: always
#on_start: always # options: [always|never|change] default: always
rooms:
# travis encrypt --org --repo crossbario/autobahn-python "crossbario:FYg..."
- secure: SFGFqyBRM0seIIjHeb/XY6ncdpyxMIEhrd/k3Ni/qq4CFxsCwBJIaatW05Jl6GLk5ykLMeYSSh9TtakIExZ4R068g4VhSH5be0PNjGxnvRkmoF5GmQGJcu87w7a5C4O0J+hmcH5iWBu4IWP0w3rPRiFmMGbCaH7g6qfoPqIW95Q=