Skip to content

Commit

Permalink
Fix failing Travis-CI builds (explicitely start MySQL/Postgresql serv…
Browse files Browse the repository at this point in the history
…ices)
  • Loading branch information
DamienHarper committed Jul 29, 2019
1 parent f7a59e8 commit a3117fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ env:
- DB=pgsql

before_install:
# - if [[ $DB == 'mysql' && $MYSQL_VERSION == '5.7' ]]; then ./tests/travis/install-mysql-5.7.sh; fi
- if [[ $DB == 'mysql' ]]; then mysql -u root -e 'select version()'; fi
- if [[ $DB == 'pgsql' ]]; then psql -U postgres -c 'SHOW SERVER_VERSION'; fi
- if [[ $DB == 'mysql' ]]; then sudo systemctl start mysql && mysql -u root -e 'select version()'; fi
- if [[ $DB == 'pgsql' ]]; then sudo systemctl start postgresql && psql -U postgres -c 'SHOW SERVER_VERSION'; fi
- composer self-update

install:
Expand Down

0 comments on commit a3117fb

Please sign in to comment.