-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support PHP 8.0 and modernize TravisCI configuration (#86)
* Modernize TravisCI configuration * Fix copypasta * Support PHP 8.0 * Support PHP 8.0 in CI
- Loading branch information
1 parent
9a69686
commit 566ad70
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
language: php | ||
# TravisCI configuration for Automattic/phpcs-neutron-standard | ||
|
||
matrix: | ||
include: | ||
- php: 7.0 | ||
- php: 7.1 | ||
- php: 7.2 | ||
- php: 7.3 | ||
- php: 7.4 | ||
fast_finish: true | ||
if: "branch = master" | ||
|
||
language: "php" | ||
os: | ||
- linux | ||
- "linux" | ||
dist: "xenial" | ||
|
||
php: | ||
- "8.0" | ||
- "7.4" | ||
- "7.3" | ||
- "7.2" | ||
- "7.1" | ||
- "7.0" | ||
|
||
sudo: false | ||
jobs: | ||
fast_finish: true | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
- "$HOME/.composer/cache" | ||
|
||
script: | ||
- composer validate --strict | ||
- composer install | ||
- composer test | ||
- composer lint | ||
- "composer validate --strict" | ||
- "composer update" | ||
- "composer test" | ||
- "composer lint" | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters