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
0963de07
Commit
0963de07
authored
9 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Only run relevant commands on Travis CI
parent
74f316f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+4
-4
4 additions, 4 deletions
.travis.yml
with
4 additions
and
4 deletions
.travis.yml
+
4
−
4
View file @
0963de07
...
...
@@ -17,12 +17,12 @@ before_install:
-
sudo apt-get update -qq
-
sudo apt-get install -y swig
-
pip install -r requirements.txt
-
pip install psycopg2
-
bash -c "if [[ '$MUTALYZER_TEST_DATABASE_URI' =~ 'postgres' ]]; then
pip install psycopg2
; fi"
install
:
-
pip install .
before_script
:
-
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;'
-
bash -c "if [[ '$MUTALYZER_TEST_DATABASE_URI' =~ 'postgres' ]]; then
psql -c 'DROP DATABASE IF EXISTS mutalyzer_test;' -U postgres
; fi"
-
bash -c "if [[ '$MUTALYZER_TEST_DATABASE_URI' =~ 'postgres' ]]; then
psql -c 'CREATE DATABASE mutalyzer_test;' -U postgres
; fi"
-
bash -c "if [[ '$MUTALYZER_TEST_DATABASE_URI' =~ 'mysql' ]]; then
mysql -e 'CREATE DATABASE IF NOT EXISTS mutalyzer_test;'
; fi"
script
:
-
py.test
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