123456789101112131415161718192021222324252627282930313233343536373839 |
- sudo: false
- services:
- - docker
- language: python
- cache: pip
- services:
- - docker
- before_install:
- - pyenv versions
- - pyenv version-name
- - env
- install:
- - pip install tox
- python:
- - '2.7'
- - '3.4'
- - '3.5'
- - '3.6'
- - '3.7-dev'
- env:
- - SALT=-v2018.3 BACKEND=-cherrypy CODECOV=py
- - SALT=-v2018.3 BACKEND=-tornado CODECOV=py
- - SALT=-v2019.2 BACKEND=-cherrypy CODECOV=py
- - SALT=-v2019.2 BACKEND=-tornado CODECOV=py
- matrix:
- env:
- script:
- - PYTHON="${TRAVIS_PYTHON_VERSION%-dev}"
- - docker run -v $PWD:/pepper -ti --rm gtmanfred/pepper:latest tox -c /pepper/tox.ini -e "${TRAVIS_PYTHON_VERSION%%.*}flake8,${CODECOV}${PYTHON//./}${BACKEND}${SALT}"
- after_success:
- - sudo chown $USER .tox/
- - if [[ $CODECOV == "py" ]]; then tox -e codecov; fi
|