Skip to content

Commit

Permalink
Merge pull request #41 from sanmai/test-nightly
Browse files Browse the repository at this point in the history
.travis.yml: try to install everything on nightly
  • Loading branch information
sanmai committed Apr 17, 2018
2 parents db7b8a4 + e41dce1 commit a178956
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -18,10 +18,12 @@ cache:

install:
- pecl install ast
- composer install --prefer-dist
- if [[ "$TRAVIS_PHP_VERSION" == "nightly" ]]; then COMPOSER_ARGS='--ignore-platform-reqs'; fi
- composer install --prefer-dist $COMPOSER_ARGS

script:
- make ci --keep-going COMPOSER='/bin/sh -c composer'
- if [[ "$TRAVIS_PHP_VERSION" == "nightly" ]]; then vendor/bin/phpunit; else make ci --keep-going COMPOSER='/bin/sh -c composer'; fi
- composer validate

after_success:
- travis_retry php vendor/bin/php-coveralls
Expand Down
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -12,6 +12,7 @@ SILENT=$(shell which chronic)
# PHP CS Fixer
PHP_CS_FIXER=vendor/bin/php-cs-fixer
PHP_CS_FIXER_ARGS=--cache-file=build/cache/.php_cs.cache --verbose
export PHP_CS_FIXER_IGNORE_ENV=1

# PHPUnit
PHPUNIT=vendor/bin/phpunit
Expand Down

0 comments on commit a178956

Please sign in to comment.