Skip to content

Commit 8ec701c

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. Closes #46
1 parent bac3bae commit 8ec701c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ after_success:
1313
- coveralls
1414
before_script:
1515
- mkdir $HOME/.process_tracker
16-
- mv configs/${DB}_config.ini $HOME/.process_tracker/process_tracker_config.ini
16+
- if [[ -z "$DB" ]]; then mv configs/${DB}_config.ini $HOME/.process_tracker/process_tracker_config.ini; fi
1717
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_account_create.sql -U postgres; fi
1818
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_process_tracker.sql process_tracker -U postgres; fi
1919
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_process_tracker_defaults.sql process_tracker -U postgres; fi
@@ -26,8 +26,7 @@ env:
2626
jobs:
2727
include:
2828
- stage: deploy
29-
env:
30-
- DB=postgres
29+
script: skip
3130
deploy:
3231
- provider: releases
3332
api_key:

0 commit comments

Comments
 (0)