.gitlab-ci.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. stages:
  2. - test
  3. python2.7:
  4. stage: test
  5. script:
  6. - ./ci/install.sh python2.7 python-yaml python-requests
  7. - python2.7 ./test.py
  8. image: debian:stable
  9. pyflakes2:
  10. stage: test
  11. script:
  12. - ./ci/install.sh python2.7 pyflakes
  13. - pyflakes .
  14. image: debian:unstable
  15. .python3.4:
  16. stage: test
  17. script:
  18. - ./ci/install.sh python3.4 python3-yaml python3-requests
  19. - python3.4 ./test.py
  20. image: debian:testing
  21. .python3.5:
  22. stage: test
  23. script:
  24. - ./ci/install.sh python3.5 python3-yaml python3-requests
  25. - python3.5 ./test.py
  26. image: debian:unstable
  27. pyflakes3:
  28. stage: test
  29. script:
  30. - ./ci/install.sh python3 pyflakes3
  31. - pyflakes3 .
  32. image: debian:unstable
  33. pypy2.7:
  34. stage: test
  35. script:
  36. - ./ci/install.sh python2.7 python-yaml python-requests pypy
  37. - PYTHONPATH=/usr/lib/python2.7/dist-packages pypy ./test.py
  38. image: debian:stable
  39. .pypy3.4:
  40. stage: test
  41. script:
  42. - ./ci/install.sh python3.4 python-requests pypy
  43. - PYTHONPATH=/usr/lib/python3.4/dist-packages pypy ./test.py
  44. image: debian:stable
  45. .pypy3.5:
  46. stage: test
  47. script:
  48. - ./ci/install.sh python3.5 python3-requests pypy
  49. - PYTHONPATH=/usr/lib/python3.5/dist-packages pypy ./test.py
  50. image: debian:unstable