Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
549 changed files
with
75,508 additions
and
24,415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[run] | ||
source = | ||
cms | ||
menus | ||
branch = True | ||
omit = | ||
cms/migrations/* | ||
cms/plugins/*/migrations/* | ||
cms/stacks/migrations/* | ||
cms/tests/* | ||
cms/test_utils/* | ||
menus/migrations/* | ||
docs | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
raise AssertionError | ||
raise NotImplementedError | ||
if __name__ == .__main__.: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
repo_token: ZcjJm7xDsaD7FCFvDHEOBE5IdHKWqvf5y | ||
service_name: travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,4 @@ lib/ | |
man/ | ||
share/ | ||
.editorconfig | ||
cms/static/cms/compass_app_log.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,94 @@ | ||
language: python | ||
python: | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
- 2.6 | ||
- 2.7 | ||
- 3.3 | ||
env: | ||
- DJANGO=1.4 DB='sqlite://localhost/:memory:' | ||
- DJANGO=1.4 DB='mysql://root@127.0.0.1/djangocms_test' | ||
- DJANGO=1.4 DB='postgres://postgres@127.0.0.1/djangocms_test' | ||
- DJANGO=1.5 DB='sqlite://localhost/:memory:' | ||
- DJANGO=1.5 DB='mysql://root@127.0.0.1/djangocms_test' | ||
- DJANGO=1.5 DB='postgres://postgres@127.0.0.1/djangocms_test' | ||
|
||
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://root@127.0.0.1/djangocms_test' SELENIUM=1 | ||
- DJANGO=1.4 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=1.4 DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=1.5 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- DJANGO=1.5 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=1.5 DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=1.6 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- DJANGO=1.6 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=1.6 DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=trunk DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- DJANGO=trunk DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- DJANGO=trunk DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
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" | ||
|
||
- sh -c "if [ '$DATABASE_URL' = 'postgres://postgres@127.0.0.1/djangocms_test' ]; | ||
then psql -c 'DROP DATABASE IF EXISTS djangocms_test;' -U postgres; fi" | ||
- sh -c "if [ '$DATABASE_URL' = 'postgres://postgres@127.0.0.1/djangocms_test' ]; | ||
then psql -c 'create database djangocms_test;' -U postgres; fi" | ||
- sh -c "if [ '$DATABASE_URL' = '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: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- pip install -q -r "test_requirements/django-$DJANGO.txt" --use-mirrors | ||
- if [ $DB == 'mysql://root@127.0.0.1/djangocms_test' ]; then pip install -q mysql-python --use-mirrors; fi | ||
script: | ||
python runtests.py --db $DB | ||
- pip install -q -r "test_requirements/django-$DJANGO.txt" | ||
- if [ $DATABASE_URL == 'postgres://postgres@127.0.0.1/djangocms_test' ]; then pip | ||
install -q psycopg2 ; fi | ||
- if [ $DATABASE_URL == 'mysql://root@127.0.0.1/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: | ||
- digi@treepy.com | ||
on_success: never | ||
on_failure: always | ||
irc: | ||
- "irc.freenode.org#django-cms" | ||
- "irc.freenode.org#django-cms-sprint" | ||
|
||
|
||
email: | ||
recipients: | ||
- digi@treepy.com | ||
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 DB='sqlite://localhost/:memory:' | ||
- python: 3.3 | ||
env: DJANGO=1.4 DB='mysql://root@127.0.0.1/djangocms_test' | ||
- python: 3.3 | ||
env: DJANGO=1.4 DB='postgres://postgres@127.0.0.1/djangocms_test' | ||
- python: 3.3 | ||
env: DJANGO=1.5 DB='mysql://root@127.0.0.1/djangocms_test' | ||
- python: 3.3 | ||
env: DJANGO=1.4 DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=1.4 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=1.4 DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
|
||
- python: 3.3 | ||
env: DJANGO=1.5 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=1.6 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=trunk DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
|
||
- python: 2.6 | ||
env: DJANGO=trunk DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- python: 2.6 | ||
env: DJANGO=trunk DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 2.6 | ||
env: DJANGO=trunk DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
|
||
|
||
- python: 2.6 | ||
env: DJANGO=1.4 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=1 | ||
- python: 2.7 | ||
env: DJANGO=1.4 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=1.4 DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=1 | ||
|
||
|
||
allow_failures: | ||
- python: 3.3 | ||
env: DJANGO=trunk DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=trunk DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 3.3 | ||
env: DJANGO=trunk DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 2.7 | ||
env: DJANGO=trunk DATABASE_URL='sqlite://localhost/:memory:' SELENIUM=0 | ||
- python: 2.7 | ||
env: DJANGO=trunk DATABASE_URL='mysql://root@127.0.0.1/djangocms_test' SELENIUM=0 | ||
- python: 2.7 | ||
env: DJANGO=trunk DATABASE_URL='postgres://postgres@127.0.0.1/djangocms_test' SELENIUM=0 | ||
fast_finish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.