Skip to content

Commit bac3bae

Browse files
committed
process_tracker_python-46 TravisCI Fails on Tagged Build
Modified the travisci config to include job stages, where the MySQL and Postgresql environments run and then the next stage triggers off with deploy. This should prevent deployment from triggering off until after both environments have finished their testing.
1 parent 3503477 commit bac3bae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ before_script:
2020
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_account_create.sql; fi
2121
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker.sql; fi
2222
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker_defaults.sql; fi
23+
env:
24+
- DB=postgres TRAVIS="true"
25+
- DB=mysql TRAVIS="true"
2326
jobs:
2427
include:
25-
- stage: test
26-
env:
27-
- DB=postgres TRAVIS="true"
28-
- DB=mysql TRAVIS="true"
2928
- stage: deploy
29+
env:
30+
- DB=postgres
3031
deploy:
3132
- provider: releases
3233
api_key:

0 commit comments

Comments
 (0)