.build.yml 736 B

1234567891011121314151617181920212223242526272829303132
  1. image: debian/sid
  2. packages:
  3. - jython
  4. - python3-pip
  5. - virtualenv
  6. tasks:
  7. - core: |
  8. cd hypervideo
  9. virtualenv -p python3 venv
  10. source venv/bin/activate
  11. python --version
  12. pip install nose
  13. export YTDL_TEST_SET=core
  14. export JYTHON=true;
  15. bash ./devscripts/run_tests.sh || true
  16. - download: |
  17. cd hypervideo
  18. virtualenv -p python3 venv
  19. source venv/bin/activate
  20. python --version
  21. pip install nose
  22. export YTDL_TEST_SET=download
  23. export JYTHON=true;
  24. bash ./devscripts/run_tests.sh || true
  25. - flake8: |
  26. cd hypervideo
  27. virtualenv -p python3 venv
  28. source venv/bin/activate
  29. python --version
  30. pip install flake8
  31. flake8 .