.travis.yml 777 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. dist: xenial
  2. sudo: false
  3. services:
  4. - docker
  5. language: python
  6. services:
  7. - docker
  8. install:
  9. - pip install tox
  10. python:
  11. - '2.7'
  12. - '3.4'
  13. - '3.5'
  14. - '3.6'
  15. - '3.7'
  16. - '3.8-dev'
  17. env:
  18. - SALT=v2018.3 BACKEND=cherrypy
  19. - SALT=v2018.3 BACKEND=tornado
  20. - SALT=v2019.2 BACKEND=cherrypy
  21. - SALT=v2019.2 BACKEND=tornado
  22. - SALT=develop BACKEND=cherrypy
  23. - SALT=develop BACKEND=tornado
  24. matrix:
  25. allow_failures:
  26. - python: '3.8-dev'
  27. - env: SALT=develop BACKEND=tornado
  28. - env: SALT=develop BACKEND=cherrypy
  29. script:
  30. - PYTHON="${TRAVIS_PYTHON_VERSION/-dev/-rc}"
  31. - TOX_VERSION="py${PYTHON//./}"
  32. - docker run -v $PWD:/pepper -ti --rm "python:$PYTHON" make -C /pepper test PYVERSION="${TOX_VERSION%-rc}" SALT="${SALT}" BACKEND="${BACKEND}"
  33. after_success:
  34. - sudo chown $USER .tox/
  35. - tox -e codecov