Skip to content

Commit 7681674

Browse files
committed
Travis CI: Force PHPUnit 7 if PHP version 7.1 or above
1 parent 16c3702 commit 7681674

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ php:
1515
- 7.1
1616
- 7.2
1717
- 7.3
18-
# aliased to a recent hhvm version
19-
- hhvm
2018

19+
install:
20+
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
21+
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
2122

2223
# optionally set up exclutions and allowed failures in the matrix
2324
matrix:
2425
exclude:
2526
- php: 5.5
2627
- php: 5.6
2728
allow_failures:
28-
- php: 5.4
2929
- php: 7.0
3030
- php: 7.1
31-
- php: hhvm
3231

3332
before_script:
33+
- phpunit --version
3434
- composer self-update
3535
- composer install --prefer-source --no-interaction --dev
3636

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### About
2-
The library provides a Office 365 REST client for PHP applications. It allows to performs CRUD operations against Office 365 resources via an REST/OData based API.
2+
The library provides a Office 365 Library for PHP. It allows to performs CRUD operations against Office 365 resources via an REST/OData based API.
33

44
#### The list of supported Office 365 REST APIs:
55

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@
1919
"psr-4": {
2020
"Office365\\PHP\\Client\\": "src/"
2121
}
22-
},
23-
"require-dev": {
24-
"phpunit/phpunit": "5"
2522
}
2623
}

0 commit comments

Comments
 (0)