.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: python
  2. python:
  3. - "2.6"
  4. - "2.7"
  5. - "3.2"
  6. - "3.3"
  7. - "3.4"
  8. - "3.5"
  9. - "3.6"
  10. - "pypy"
  11. - "pypy3"
  12. dist: trusty
  13. env:
  14. - YTDL_TEST_SET=core
  15. - YTDL_TEST_SET=download
  16. jobs:
  17. include:
  18. - python: 3.7
  19. dist: xenial
  20. env: YTDL_TEST_SET=core
  21. - python: 3.7
  22. dist: xenial
  23. env: YTDL_TEST_SET=download
  24. - python: 3.8
  25. dist: xenial
  26. env: YTDL_TEST_SET=core
  27. - python: 3.8
  28. dist: xenial
  29. env: YTDL_TEST_SET=download
  30. - python: 3.8-dev
  31. dist: xenial
  32. env: YTDL_TEST_SET=core
  33. - python: 3.8-dev
  34. dist: xenial
  35. env: YTDL_TEST_SET=download
  36. - env: JYTHON=true; YTDL_TEST_SET=core
  37. - env: JYTHON=true; YTDL_TEST_SET=download
  38. - name: flake8
  39. python: 3.8
  40. dist: xenial
  41. install: pip install flake8
  42. script: flake8 .
  43. fast_finish: true
  44. allow_failures:
  45. - env: YTDL_TEST_SET=download
  46. - env: JYTHON=true; YTDL_TEST_SET=core
  47. - env: JYTHON=true; YTDL_TEST_SET=download
  48. before_install:
  49. - if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi
  50. script: ./devscripts/run_tests.sh