Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Add hhvm to Travis CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Mar 11, 2015
1 parent 169f6b1 commit 6199215
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ php:
- 5.5
- 5.6
- 7
- hhvm

matrix:
fast_finish: true

allow_failures:
- php: 7
- php: hhvm

before_install:
- travis_retry composer self-update -n
Expand All @@ -41,12 +43,9 @@ install:
- travis_retry composer install -n --prefer-dist

before_script:
- cp tests/travis/mysql.ini tests/configs/mysql.ini
- cp tests/travis/pgsql.ini tests/configs/pgsql.ini
- cp tests/travis/sqlite.ini tests/configs/sqlite.ini
- mysql -u root -e 'create database midas_test;'
- psql -U postgres -c 'create database midas_test;'
- touch midas_test.db
- cp tests/travis/mysql.ini tests/configs/mysql.ini && mysql -u root -e 'create database midas_test;'
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then cp tests/travis/pgsql.ini tests/configs/pgsql.ini && psql -U postgres -c 'create database midas_test;'; fi
- cp tests/travis/sqlite.ini tests/configs/sqlite.ini && touch midas_test.db

script:
- mkdir _test && cd _test
Expand Down

0 comments on commit 6199215

Please sign in to comment.