Project:
django CMS
Code Location:
git://github.com/divio/django-cms.gitmaster
.travis.yml
language: python python: - "2.6" - "2.7" env: - DJANGO=test_requirements/django-1.4.txt DB='sqlite://localhost/:memory:' - DJANGO=test_requirements/django-1.4.txt DB='mysql://root@127.0.0.1/djangocms_test' - DJANGO=test_requirements/django-1.4.txt DB='postgres://postgres@127.0.0.1/djangocms_test' - DJANGO=test_requirements/django-1.5.txt DB='sqlite://localhost/:memory:' - DJANGO=test_requirements/django-1.5.txt DB='mysql://root@127.0.0.1/djangocms_test' - DJANGO=test_requirements/django-1.5.txt DB='postgres://postgres@127.0.0.1/djangocms_test' before_script: - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/djangocms_test' ]; then psql -c 'DROP DATABASE IF EXISTS djangocms_test;' -U postgres; fi" - sh -c "if [ '$DB' = 'postgres://postgres@127.0.0.1/djangocms_test' ]; then psql -c 'create database djangocms_test;' -U postgres; fi" - sh -c "if [ '$DB' = 'mysql://root@127.0.0.1/djangocms_test' ]; then mysql -e 'create database IF NOT EXISTS djangocms_test CHARACTER SET utf8 COLLATE utf8_general_ci;'; fi" install: - pip install -q -r $DJANGO --use-mirrors - pip install -q mysql-python --use-mirrors script: python runtests.py --db $DB notifications: email: recipients: - digi@treepy.com on_success: never on_failure: always irc: - "irc.freenode.org#django-cms" - "irc.freenode.org#django-cms-sprint"
