Skip to content
Newer
Older
100644 28 lines (27 sloc) 930 Bytes
d4ae53e @melinath Revamped tests for nose, tox, and travis. Fixes #30.
melinath authored
1 language: python
2 python:
3 - "2.6"
4 - "2.7"
ae6243d @melinath Added experimental python 3 support.
melinath authored
5 - "3.3"
839d870 @melinath Added support for mysql testing with travis.
melinath authored
6 env:
ae6243d @melinath Added experimental python 3 support.
melinath authored
7 - DB=sqlite3 REQUIREMENTS=test_project/requirements-1.4.txt
8 - DB=mysql REQUIREMENTS=test_project/requirements-1.4.txt
9 - DB=sqlite3 REQUIREMENTS=test_project/requirements-1.5.txt
10 - DB=mysql REQUIREMENTS=test_project/requirements-1.5.txt
11 matrix:
12 exclude:
13 - python: "3.3"
14 env: DB=sqlite3 REQUIREMENTS=test_project/requirements-1.4.txt
15 - python: "3.3"
16 env: DB=mysql REQUIREMENTS=test_project/requirements-1.4.txt
c3e2097 @melinath Stopped testing mysql compat on 3.3.
melinath authored
17 - python: "3.3"
18 env: DB=mysql REQUIREMENTS=test_project/requirements-1.5.txt
d4ae53e @melinath Revamped tests for nose, tox, and travis. Fixes #30.
melinath authored
19 install:
20 - pip install . --no-deps
ae6243d @melinath Added experimental python 3 support.
melinath authored
21 - pip install --use-mirrors --no-deps -r $REQUIREMENTS
839d870 @melinath Added support for mysql testing with travis.
melinath authored
22 - if [ $DB == 'mysql' ]; then pip install --use-mirrors --no-deps mysql-python; fi
23 before_script:
70f2723 @melinath Corrected test database name.
melinath authored
24 - if [ $DB == 'mysql' ]; then mysql -e 'CREATE DATABASE daguerre_test;'; fi
d4ae53e @melinath Revamped tests for nose, tox, and travis. Fixes #30.
melinath authored
25 script:
839d870 @melinath Added support for mysql testing with travis.
melinath authored
26 - cd test_project
d4ae53e @melinath Revamped tests for nose, tox, and travis. Fixes #30.
melinath authored
27 - ./manage.py test --verbosity=2 daguerre
Something went wrong with that request. Please try again.