Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 4.8 with HHVM LTS, HHVM Current and in HHVM php7 mode #2280

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 55 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,72 @@
language: php
# Use new Travis-CI container Infrastructure for faster builds
sudo: false

php:
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
language: php

matrix:
fast_finish: true
include:
- php: 5.3.3
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- nightly
- php: hhvm-3.12 # Current LTS version of HHVM
sudo: true # Travis-CI container Infrastructure doesn't support all available HHVM versions, so use Trusty
dist: trusty
group: edge # Until the next update
addons:
apt:
packages:
- libxml2-utils
env: HHVMPHP7="no"
- php: hhvm-3.12 # Current LTS version of HHVM with PHP7 mode
sudo: true # Travis-CI container Infrastructure doesn't support all available HHVM versions, so use Trusty
dist: trusty
group: edge # until the next update
addons:
apt:
packages:
- libxml2-utils
env: HHVMPHP7="yes"
- php: hhvm # Current version of HHVM (could be LTS or STS)
sudo: true
dist: trusty
group: edge # until the next update
addons:
apt:
packages:
- libxml2-utils
env: HHVMPHP7="no"
- php: hhvm # Current version of HHVM with PHP7 mode (could be LTS or STS)
sudo: true
dist: trusty
group: edge # until the next update
addons:
apt:
packages:
- libxml2-utils
env: HHVMPHP7="yes"
allow_failures:
- php: 7.0
- php: 7.1
- php: nightly
- php: hhvm-3.12
- php: hhvm

sudo: false

before_install:
- composer self-update

install:
- travis_retry composer install --no-interaction --prefer-source

before_script:
- if [[ $HHVMPHP7 == "yes" ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo 'xdebug.enable = 1' >> /etc/hhvm/php.ini; fi # Extension xdebug is required

script:
- ./phpunit
- ./phpunit --configuration ./build/travis-ci-fail.xml > /dev/null; if [ $? -eq 0 ]; then echo "SHOULD FAIL"; false; else echo "fail checked"; fi;
Expand Down