.travis.yml 727B

1234567891011121314151617181920212223242526272829303132333435
  1. matrix:
  2. include:
  3. - sudo: false
  4. language: python
  5. python:
  6. - "3.5"
  7. - "3.6"
  8. addons:
  9. apt:
  10. packages:
  11. - libreoffice
  12. - imagemagick
  13. - libmagickwand-dev
  14. - ghostscript
  15. services:
  16. - docker
  17. - redis-server
  18. before_install:
  19. - docker pull mailhog/mailhog
  20. - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
  21. - cd backend
  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. - py.test --cov tracim_backend
  29. after_success:
  30. - coveralls