py-libp2p/.travis.yml
2018-02-07 11:40:35 -08:00

41 lines
726 B
YAML

sudo: false
language: python
dist: trusty
matrix:
include:
#
# Python 3.5 testing
#
# lint
- python: "3.5"
env: TOX_POSARGS="-e lint"
# doctest
- python: "3.5"
env: TOX_POSARGS="-e doctest"
# core
- python: "3.5"
env: TOX_POSARGS="-e py35-core"
#
# Python 3.6 testing
#
# core
- python: "3.6"
env: TOX_POSARGS="-e py36-core"
#
# pypy3 testing
#
# core
- python: "pypy3"
env: TOX_POSARGS="-e pypy3-core"
cache:
- pip: true
install:
- travis_retry pip install pip setuptools --upgrade
- travis_retry pip install tox
before_script:
- python --version
- pip --version
- pip freeze
script:
- tox $TOX_POSARGS