.travis.yml 1017B

12345678910111213141516171819202122232425262728293031
  1. language: python
  2. python:
  3. - "3.2"
  4. # - "3.3"
  5. # - "3.4"
  6. addons:
  7. postgresql: "9.3"
  8. # command to install dependencies
  9. # Note: there's an echo at the end of pip install. It allows to override the default return code which is not 0
  10. # because some packages need to be ugraded to python3 (invalid python syntax because of python2 source code)
  11. #
  12. # pip install -r is run 2 times in order to really install tgapp-resetpassword (to investigate)
  13. #
  14. install:
  15. - "cd tracim && python setup.py develop; cd -"
  16. - "pip install -r install/requirements.txt; echo"
  17. - "./bin/tg2env-patch 1 /home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages"
  18. - "pip install -r install/requirements.txt; echo"
  19. - "./bin/tg2env-patch 2 /home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages"
  20. before_script:
  21. - "psql -c 'create database tracim_test;' -U postgres"
  22. - "cp tracim/development.ini.base tracim/development.ini"
  23. # command to run tests
  24. script: cd tracim && nosetests --with-coverage --cover-package=tracim