.travis.yml 728 B

12345678910111213141516
  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. - wget https://bootstrap.pypa.io/get-pip.py
  13. - sudo python get-pip.py
  14. install: "pip install -r install/files/python_requirements.txt"
  15. # command to run tests
  16. script: pytest