You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
812B

  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. jobs:
  16. include:
  17. - python: 3.7
  18. dist: xenial
  19. env: YTDL_TEST_SET=core
  20. - python: 3.8
  21. dist: xenial
  22. env: YTDL_TEST_SET=core
  23. - python: 3.8-dev
  24. dist: xenial
  25. env: YTDL_TEST_SET=core
  26. - env: JYTHON=true; YTDL_TEST_SET=core
  27. - name: flake8
  28. python: 3.8
  29. dist: xenial
  30. install: pip install flake8
  31. script: flake8 .
  32. fast_finish: true
  33. allow_failures:
  34. - env: YTDL_TEST_SET=download
  35. - env: JYTHON=true; YTDL_TEST_SET=core
  36. before_install:
  37. - if [ "$JYTHON" == "true" ]; then ./devscripts/install_jython.sh; export PATH="$HOME/jython/bin:$PATH"; fi
  38. script: ./devscripts/run_tests.sh