Skip to content

Commit

Permalink
Travis build fails for PHP7.2 because of PHPUnit 6 #1557 (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
contactashish13 authored and michaeltorbert committed Feb 13, 2018
1 parent c0055d5 commit 31aba3f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ language: php

matrix:
fast_finish: true
global:
- env: PHPUNIT=global
include:
- php: 7.2
env: PHPUNIT=local
- php: 7.1
env: PHPUNIT=local
- php: 7.0
- php: 5.6
- php: 5.5
Expand All @@ -28,7 +32,10 @@ branches:
except:
- "/^*-v[0-9]/"

install:
- if [[ $PHPUNIT = "local" ]]; then composer install; fi

before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION

script: phpunit
script: if [[ $PHPUNIT = "local" ]]; then ./vendor/bin/phpunit; else phpunit; fi
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "semperfiwebdesign/all-in-one-seo-pack",
"description": "All in One SEO Pack plugin for WordPress SEO ",
"keywords": [
"wordpress",
"seo"
],
"license": "GPL-2.0+",
"authors": [
{
"name": "Michael Torbert",
"homepage": "https://semperplugins.com/all-in-one-seo-pack-pro-version/"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/semperfiwebdesign/all-in-one-seo-pack/issues",
"source": "https://github.com/semperfiwebdesign/all-in-one-seo-pack"
},
"require-dev": {
"phpunit/phpunit": "5.7"
},
"prefer-stable": true
}

0 comments on commit 31aba3f

Please sign in to comment.