Skip to content

Commit

Permalink
Merge pull request PHPCSStandards#58 from jrfnl/feature/travis-tweaks
Browse files Browse the repository at this point in the history
Travis: various tweaks
  • Loading branch information
frenck authored Sep 9, 2018
2 parents 4d6949d + 5d84fc8 commit 1b75211
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ language: php

php:
- hhvm
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3

# This triggers builds to run on the new (faster) TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
Expand All @@ -24,11 +22,16 @@ env:
- PATH="${HOME}/bin:${PATH}"

matrix:
include:
- php: 7.2
env: SNIFF=1
- php: 5.3
# As 'trusty' is not supporting PHP 5.2/5.3 anymore, we need to force using 'precise'.
dist: precise

allow_failures:
- php: hhvm
- php: 5.5
- php: 5.4
- php: 5.3

fast_finish: true

before_install:
Expand All @@ -43,5 +46,6 @@ script:
- find . -type f -name "*.php" -print0 | xargs -0 -n1 php -l
- composer validate
- travis_wait composer install --no-interaction --no-progress --no-scripts --no-suggest --optimize-autoloader --prefer-dist --verbose
- ./vendor/bin/phpcs --standard=psr2 src/
- if [[ "$SNIFF" == "1" ]]; then composer install-codestandards; fi
- if [[ "$SNIFF" == "1" ]]; then ./vendor/bin/phpcs; fi
- ./vendor/bin/security-checker -n security:check --end-point=http://security.sensiolabs.org/check_lock

0 comments on commit 1b75211

Please sign in to comment.