Skip to content
Snippets Groups Projects
Commit aa7fe33e authored by Vermaat's avatar Vermaat
Browse files

Use IF (NOT) EXISTS in Travis CI db create

parent 8afd90dc
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@ before_install:
install:
- pip install .
before_script:
- psql -c 'create database mutalyzer_test;' -U postgres
- mysql -e 'create database mutalyzer_test;'
- psql -c 'DROP DATABASE IF EXISTS mutalyzer_test;' -U postgres
- psql -c 'CREATE DATABASE mutalyzer_test;' -U postgres
- mysql -e 'CREATE DATABASE IF NOT EXISTS mutalyzer_test;'
script:
- py.test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment