forked from django-cms/django-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (65 loc) · 3.08 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
language: python
python:
- 3.3
- 2.7
- 2.6
env:
global:
- SAUCE_USERNAME=digi604
- secure: NWiSBCHFB6LbTMget2qLIdqZlx0zeu3j+Y7Lsqb8kuYXyT2IUBGFVedcGWuGv/9Mzypb80EQWtVTokA3/3QIbesqr29uG95pMPHiYWLdnTO6UHcLMcNXiSzhBGdRDZ40iHSVv2dDHs4GNwGOH5+UCA0z3j7SWmChuFbNXh+Vsqw=
matrix:
- DJANGO=1.4 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0
- DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=1
- DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.4 DATABASE_URL='postgres://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.5 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0
- DJANGO=1.5 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.5 DATABASE_URL='postgres://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.6 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0
- DJANGO=1.6 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.6 DATABASE_URL='postgres://[email protected]/djangocms_test' SELENIUM=0
- DJANGO=1.6 DATABASE_URL='postgres://[email protected]/djangocms_test' SELENIUM=1 AUTH_USER_MODEL='emailuserapp.EmailUser'
before_script:
- sh -c "if [ '$DATABASE_URL' = 'postgres://[email protected]/djangocms_test' ];
then psql -c 'DROP DATABASE IF EXISTS djangocms_test;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'postgres://[email protected]/djangocms_test' ];
then psql -c 'create database djangocms_test;' -U postgres; fi"
- sh -c "if [ '$DATABASE_URL' = 'mysql://[email protected]/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 "test_requirements/django-$DJANGO.txt"
- if [ $DATABASE_URL == 'postgres://[email protected]/djangocms_test' ]; then pip
install -q psycopg2 ; fi
- if [ $DATABASE_URL == 'mysql://[email protected]/djangocms_test' ]; then pip install
-q mysql-python ; fi
script: coverage run --rcfile=.coverage.rc develop.py test --migrate
after_success: coveralls --config_file=.coverage.rc --coveralls_yaml=.coveralls.yml
notifications:
email:
recipients:
on_success: never
on_failure: always
irc:
- irc.freenode.org#django-cms
- irc.freenode.org#django-cms-sprint
matrix:
exclude:
- python: 3.3
env: DJANGO=1.4 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0
- python: 3.3
env: DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- python: 3.3
env: DJANGO=1.4 DATABASE_URL='postgres://[email protected]/djangocms_test' SELENIUM=0
- python: 3.3
env: DJANGO=1.5 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- python: 3.3
env: DJANGO=1.6 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- python: 2.6
env: DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=1
- python: 2.7
env: DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=0
- python: 3.3
env: DJANGO=1.4 DATABASE_URL='mysql://[email protected]/djangocms_test' SELENIUM=1
fast_finish: true