Skip to content

Commit

Permalink
Merge d246ec7 into 6e1102f
Browse files Browse the repository at this point in the history
  • Loading branch information
icanhazstring committed Jan 25, 2019
2 parents 6e1102f + d246ec7 commit 447c1b2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
24 changes: 16 additions & 8 deletions .travis.yml
Expand Up @@ -3,16 +3,24 @@ language: php
sudo: false

php:
- 7.2
- 7.3
- 7.1
- 7.2
- 7.3

env:
- PHPCS_FLAGS="--standard=PSR12"

matrix:
fast_finish: true
# include:
# - php: 5.6
# env:
# - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
# - PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
include:
- php: 7.1
env:
- COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- PHPCS_FLAGS="--standard=PSR2"
- php: 7.2
env:
- PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml"
- PHPCS_FLAGS="--standard=PSR12"

before_install:
- travis_retry composer self-update
Expand All @@ -23,7 +31,7 @@ install:

script:
- mkdir -p build/logs
- vendor/bin/phpcs --standard=PSR12 src/ tests/
- vendor/bin/phpcs ${PHPCS_FLAGS} src/ tests/
- vendor/bin/phpunit ${PHPUNIT_FLAGS}

after_script:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -20,8 +20,8 @@
}
],
"require": {
"php": "^7.2",
"symfony/process": "^4.0",
"php": "~7.1",
"symfony/process": "^3.4 || ^4.0",
"ext-iconv": "*",
"ext-dom": "*",
"ext-libxml": "*"
Expand Down

0 comments on commit 447c1b2

Please sign in to comment.