.travis.yml 887 B

12345678910111213141516171819202122232425262728293031323334
  1. language: python
  2. python:
  3. - 2.7
  4. services:
  5. - docker
  6. install:
  7. - pip install -U pip wheel
  8. - pip install -r requirements.txt
  9. - pip list
  10. before_script:
  11. - openssl version -a
  12. script:
  13. - python -m pytest -x plugins/CryptMessage/Test
  14. - python -m pytest -x plugins/Bigfile/Test
  15. - python -m pytest -x plugins/AnnounceLocal/Test
  16. - python -m pytest -x plugins/OptionalManager/Test
  17. - python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
  18. before_install:
  19. - pip install -U pytest mock pytest-cov selenium
  20. - pip install codecov
  21. - pip install coveralls
  22. - docker build -t zeronet .
  23. - docker run -d -v $PWD:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 zeronet
  24. after_success:
  25. - codecov
  26. - coveralls --rcfile=src/Test/coverage.ini
  27. cache:
  28. directories:
  29. - $HOME/.cache/pip
  30. notifications:
  31. email:
  32. recipients:
  33. hello@zeronet.io
  34. on_success: change