Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
1b141267
Commit
1b141267
authored
9 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+8
-1
8 additions, 1 deletion
.travis.yml
doc/testing.rst
+2
-2
2 additions, 2 deletions
doc/testing.rst
with
10 additions
and
3 deletions
.travis.yml
+
8
−
1
View file @
1b141267
...
...
@@ -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="
This diff is collapsed.
Click to expand it.
doc/testing.rst
+
2
−
2
View file @
1b141267
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment