Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Travis-CI with MySQL + MariaDB + PostgreSQL #54

Closed
dennissiemensma opened this issue Feb 17, 2016 · 3 comments
Closed

Test Travis-CI with MySQL + MariaDB + PostgreSQL #54

dennissiemensma opened this issue Feb 17, 2016 · 3 comments
Assignees
Milestone

Comments

@dennissiemensma
Copy link
Member

Follow-up for #48, also test with MySQL & PostgreSQL: https://docs.travis-ci.com/user/database-setup/

./manage.py test --settings=dsmrreader.config.test_postgresql -v2 --noinput

./manage.py test --settings=dsmrreader.config.test_mysql -v2 --noinput

@dennissiemensma dennissiemensma added this to the 1.0.0 milestone Feb 17, 2016
@dennissiemensma
Copy link
Member Author

I need this shortly, as I once again forgot to check mysql & postgresql after merging. They now break on a test due to inline management command flush to reset the database. I need to see it fails in the branch.

@dennissiemensma dennissiemensma modified the milestones: 1.0.0, 0.14 (β) Mar 5, 2016
@dennissiemensma dennissiemensma self-assigned this Mar 8, 2016
@dennissiemensma dennissiemensma changed the title Test Travis-CI with MySQL & PostgreSQL Test Travis-CI with MySQL + MariaDB + PostgreSQL Mar 8, 2016
@dennissiemensma
Copy link
Member Author

Somehow #62 was fixed as well.

@dennissiemensma
Copy link
Member Author

Nice, I finally got all three database engines covered by Travis!

https://travis-ci.org/dennissiemensma/dsmr-reader/builds/114641595

 Python: 3.3 DB=sqlite DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.sqlite'
 Python: 3.3 DB=mysql DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.mysql'
 Python: 3.3 DB=postgresql DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.postgresql'

 Python: 3.4 DB=sqlite DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.sqlite'
 Python: 3.4 DB=mysql DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.mysql'
 Python: 3.4 DB=postgresql DJANGO_SETTINGS_MODULE='dsmrreader.config.travis.postgresql'

Now I really have to triple check tests when I merge something to master ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant