Skip to content

Commit e9c2c25

Browse files
authored
Merge branch 'master' into qa-update-to-phpunit-6
2 parents b6e10e7 + 21b417a commit e9c2c25

File tree

2 files changed

+25
-18
lines changed

2 files changed

+25
-18
lines changed

.travis.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,47 @@ cache:
66
directories:
77
- $HOME/.composer/cache/files
88

9-
## PHP versions we test against
9+
## PHP versions we test against for current composer dependancies
1010
php:
1111
- 7.0
1212
- 7.1
1313
- nightly
14-
- hhvm
14+
## environment variables, one build is created for each
15+
env:
16+
- dependencies=lowest
17+
- dependencies=current
18+
- dependencies=highest
1519

16-
## Build matrix for lowest and highest possible targets
20+
## Build matrix for PHP versions we test against with lowest and highest possible targets
1721
matrix:
1822
include:
19-
- php: 7.0
20-
env: dependencies=lowest
21-
- php: 7.1
22-
env: dependencies=lowest
23-
- php: nightly
24-
env: dependencies=lowest
2523
- php: hhvm
24+
sudo: true
25+
dist: trusty
26+
group: edge # until the next major travis stable update
2627
env: dependencies=lowest
27-
- php: 7.0
28-
env: dependencies=highest
29-
- php: 7.1
30-
env: dependencies=highest
31-
- php: nightly
32-
env: dependencies=highest
3328
- php: hhvm
29+
sudo: true
30+
dist: trusty
31+
group: edge # until the next major travis stable update
32+
env: dependencies=current
33+
- php: hhvm
34+
sudo: true
35+
dist: trusty
36+
group: edge # until the next major travis stable update
3437
env: dependencies=highest
3538
allow_failures:
3639
- php: hhvm
3740

41+
before_install:
42+
# Force hhvm PHP 7 mode
43+
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
44+
3845
## Install or update dependencies
3946
install:
4047
#- composer validate
4148
- composer config --unset platform.php
42-
- if [ -z "$dependencies" ]; then composer install --prefer-dist; fi;
49+
- if [ "$dependencies" = "current" ]; then composer install --prefer-dist; fi;
4350
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-dist -n; fi;
4451
- if [ "$dependencies" = "highest" ]; then composer update --prefer-dist -n; fi;
4552
- composer show

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
- dependencies: highest
1313
php_ver_target: 7.0
1414
- dependencies: highest
15-
php_ver_target: 7.0
15+
php_ver_target: 7.1
1616

1717
## Cache composer bits
1818
cache:
@@ -47,4 +47,4 @@ install:
4747
## Run the actual test
4848
test_script:
4949
- cd c:\projects\php-project-workspace
50-
- vendor/bin/phpunit -c phpunit.xml.dist
50+
- vendor/bin/phpunit -c phpunit.xml.dist

0 commit comments

Comments
 (0)