Avoid creating PG database on Travis

And Travis build on PHP 7.3 should not fail.
This commit is contained in:
Jeremy Benoist 2019-01-22 21:10:28 +01:00
parent 6113dbbc20
commit e19fc02665
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View file

@ -35,7 +35,6 @@ matrix:
env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite env: CS_FIXER=run VALIDATE_TRANSLATION_FILE=run ASSETS=build DB=sqlite
allow_failures: allow_failures:
- php: nightly - php: nightly
- php: 7.3
# exclude v1 branches # exclude v1 branches
branches: branches:
@ -56,7 +55,6 @@ before_script:
# xdebug isn't enable for PHP 7.1 # xdebug isn't enable for PHP 7.1
- if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi - if [[ ! $PHP = hhvm* ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
- composer self-update --no-progress - composer self-update --no-progress
- if [[ $DB = pgsql ]]; then psql -c 'create database wallabag_test;' -U postgres; fi;
script: script:
- travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist