.travis.yml 730B

1234567891011121314151617181920212223242526272829303132333435
  1. matrix:
  2. include:
  3. - sudo: false
  4. language: python
  5. python:
  6. - "3.4"
  7. - "3.5"
  8. - "3.6"
  9. addons:
  10. apt:
  11. packages:
  12. - libreoffice
  13. - imagemagick
  14. - libmagickwand-dev
  15. - ghostscript
  16. services:
  17. - docker
  18. - redis-server
  19. before_install:
  20. - docker pull mailhog/mailhog
  21. - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
  22. install:
  23. - pip install --upgrade pip setuptools
  24. - pip install -e ".[testing]"
  25. - pip install pytest-cov
  26. - pip install python-coveralls
  27. script:
  28. - backend/py.test --cov tracim_backend
  29. after_success:
  30. - coveralls