Skip to content

Commit

Permalink
Added allowed failure
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Sep 15, 2017
1 parent ee2c183 commit 2fc58d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
22 changes: 13 additions & 9 deletions .travis.yml
Expand Up @@ -5,14 +5,18 @@ group: edge


matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
env:
- SEND_COVERAGE=true
- CS_FIX=true
- php: 7.2
include:
- php: 5.6
- php: 7.0
- php: 7.1
env:
- SEND_COVERAGE=true
- CS_FIX=true
- php: 7.2
allow_failures:
# PHP7.2 failure is due to php-cs-fixer deps
# can safely be removed when updated when fixed upstream
- php: 7.2

env:
global:
Expand All @@ -30,7 +34,7 @@ before_script:
- mysql -e "SHOW DATABASES;" -u root
- mysql -e "CONNECT phpunit_soluble_schema_db; SHOW TABLES;" -u root
- composer self-update
- composer install --prefer-source --dev
- composer install --ignore-platform-reqs
script:
- phpunit -v
- if [[ $CS_FIX == true ]]; then ./vendor/bin/php-cs-fixer --diff --dry-run -v fix; fi
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -67,7 +67,7 @@
],
"cs-check": "vendor/bin/php-cs-fixer --diff --dry-run -v fix",
"cs-fix": "vendor/bin/php-cs-fixer -v fix",
"phpstan": "vendor/bin/phpstan analyse -l 2 -c phpstan.neon src tests",
"phpstan": "vendor/bin/phpstan analyse -l 3 -c phpstan.neon src tests",
"phpds": "vendor/bin/pds-skeleton validate",
"test": "phpunit"
}
Expand Down

0 comments on commit 2fc58d0

Please sign in to comment.