Skip to content

Commit b1e175d

Browse files
committed
process_tracker_python-1 Add support for other relational databases
🐛 travis CI configuration Trying to debug the database build matrix for .travis.yml Working on #1
1 parent 995cd9f commit b1e175d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ after_success:
1414
before_script:
1515
- mkdir $HOME/.process_tracker
1616
- mv configs/${DB}_config.ini $HOME/.process_tracker/process_tracker_config.ini
17-
- if [ '$DB' == 'postgres' ]; then psql -f dbscripts/postgresql_account_create.sql -U postgres; fi
18-
- if [ '$DB' == 'postgres' ]; then psql -f dbscripts/postgresql_process_tracker.sql process_tracking -U postgres; fi
19-
- if [ '$DB' == 'postgres' ]; then psql -f dbscripts/postgresqlpostgresql_process_tracker_defaults.sql_process_tracker_defaults.sql process_tracking -U postgres; fi
20-
- if [ '$DB' == 'mysql' ]; then mysql -u root < dbscripts/mysql_account_create.sql; fi
21-
- if [ '$DB' == 'mysql' ]; then mysql -u root < dbscripts/mysql_process_tracker.sql; fi
22-
- if [ '$DB' == 'mysql' ]; then mysql -u root < dbscripts/mysql_process_tracker_defaults.sql; fi
17+
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_account_create.sql -U postgres; fi
18+
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresql_process_tracker.sql process_tracking -U postgres; fi
19+
- if [[ "$DB" == "postgres" ]]; then psql -f dbscripts/postgresqlpostgresql_process_tracker_defaults.sql_process_tracker_defaults.sql process_tracking -U postgres; fi
20+
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_account_create.sql; fi
21+
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker.sql; fi
22+
- if [[ "$DB" == "mysql" ]]; then mysql -u root < dbscripts/mysql_process_tracker_defaults.sql; fi
2323
env:
2424
- DB=postgres
2525
- DB=mysql

0 commit comments

Comments
 (0)