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

Fix Travis Builds #9

Merged
merged 15 commits into from
Apr 27, 2021
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ cache:
- $HOME/.composer/cache

matrix:
fast_finish: true
include:
- php: nightly
- php: 7.4
- php: 7.3
- php: 7.2
- php: 7.1
- php: 7.0
- php: 5.6
env: WP_TRAVISCI=phpcs
- php: 5.3
dist: precise
allow_failures:
- php: nightly

Expand All @@ -36,7 +34,9 @@ addons:
packages:
- realpath

install: composer install
install:
- composer config platform.php $(phpenv version-name)
- composer install

before_script:
- export PATH="./vendor/bin:$PATH"
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"predis/predis": "~1.1"
},
"require-dev": {
"phpunit/phpunit": "4.5.0"
"phpunit/phpunit": "^7.1.4"
},
"config": {
"platform": {
"php": "7.1.0"
}
}
}
Loading