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

On Travis CI also run tests with PostgreSQL and MySQL

parent 36626215
No related branches found
No related tags found
No related merge requests found
......@@ -6,9 +6,16 @@ before_install:
- sudo apt-get update -qq
- sudo apt-get install -y swig
- pip install -r requirements.txt
- pip install psycopg2
install:
- pip install .
script: py.test
before_script:
- psql -c 'create database mutalyzer_test;' -U postgres
- mysql -e 'create database mutalyzer_test;'
script:
- py.test
- MUTALYZER_TEST_DATABASE_URI=postgres://postgres@127.0.0.1/mutalyzer_test py.test
- MUTALYZER_TEST_DATABASE_URI=mysql://travis@127.0.0.1/mutalyzer_test?charset=utf8 py.test
notifications:
slack:
secure: "VsB4CPZCfUPpnt7sL94mYrws2B9VthQhY1+u7NBm6QkAopel0m1rx1vWx3gQCTR0t9vWiP+pSybtQ81PQFNrOSWDsb1QlyEK1JF1QUw5Zui+5wS8fwFM/sgwGIECuo6Oj0zCwC9KMM4olYEMC2c7TNHv4HgwWiMqEK9ItEYSLQY="
......@@ -32,8 +32,8 @@ PostgreSQL::
$ pg_virtualenv bash -c 'MUTALYZER_TEST_DATABASE_URI=postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:${PGPORT}/${PGDATABASE} py.test'
Tests are `run automatically on Travis CI
<https://travis-ci.org/LUMC/mutalyzer>`_ for each pull request and push on
GitHub.
<https://travis-ci.org/LUMC/mutalyzer>`_ with SQLite, PostgreSQL, and MySQL,
for each pull request and push on GitHub.
Testing the web services
......
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