Skip to content

Commit

Permalink
Possible fix for HHVM safe_mode/open_basedir error
Browse files Browse the repository at this point in the history
  • Loading branch information
FlipEverything committed Aug 2, 2018
1 parent 338497f commit deba373
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ install:
before_script:
- if [[ "$TYPE" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS spot_test;" -uroot; fi
- if [[ "$TYPE" == "pgsql" ]]; then psql -c 'create database spot_test;' -U postgres; fi

- if [[ "$TYPE" == "sqlite" && "$TRAVIS_PHP_VERSION" == "hhvm" ]]; then echo 'open_basedir = none' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi

# omitting "script:" will default to phpunit
# use the $TYPE env variable to determine the phpunit.xml to use
script: vendor/bin/phpunit --configuration phpunit_$TYPE.xml --coverage-text

0 comments on commit deba373

Please sign in to comment.