.travis.yml 803 B

123456789101112131415161718
  1. language: python
  2. python:
  3. - "2.7"
  4. # command to install dependencies
  5. before_install:
  6. - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse"
  7. - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse"
  8. - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse"
  9. - sudo apt-get update
  10. - sudo apt-get install $(cat install/files/deb-packages_requirements.txt)
  11. - sudo apt-get install libstdc++6
  12. install: "pip install -r install/files/python_requirements.txt"
  13. # command to run tests
  14. script: pytest
  15. # CodeCLimate for test coveragek
  16. addons:
  17. code_climate:
  18. repo_token: d885ae74b4a0d071454ca6791b28aa3684d21a1003ac6011ddb65160529e9309