.travis.yml 754B

123456789101112131415161718192021222324252627282930313233343536
  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 .
  25. - pip install -e ".[testing]"
  26. - pip install pytest-cov
  27. - pip install python-coveralls
  28. script:
  29. - py.test --cov tracim_backend
  30. after_success:
  31. - coveralls