Skip to content

Commit

Permalink
Travis CI: Force PHPUnit 7 if PHP version 7.1 or above
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Jul 3, 2019
1 parent 16c3702 commit 7681674
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ php:
- 7.1
- 7.2
- 7.3
# aliased to a recent hhvm version
- hhvm

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

# optionally set up exclutions and allowed failures in the matrix
matrix:
exclude:
- php: 5.5
- php: 5.6
allow_failures:
- php: 5.4
- php: 7.0
- php: 7.1
- php: hhvm

before_script:
- phpunit --version
- composer self-update
- composer install --prefer-source --no-interaction --dev

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### About
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.
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.

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

Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@
"psr-4": {
"Office365\\PHP\\Client\\": "src/"
}
},
"require-dev": {
"phpunit/phpunit": "5"
}
}

0 comments on commit 7681674

Please sign in to comment.