Skip to content

Commit

Permalink
cleanup double newlines in .travis.yml and reorder global env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrawley committed Feb 18, 2018
1 parent 99e1da6 commit ed28cbd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Expand Up @@ -7,15 +7,14 @@ cache:
directories:
- $HOME/.composer/cache


env:

global:
- SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
- COVERALLS_ENABLED="false"
- PHPUNIT_FLAGS="-v"
- PHPUNIT_ENABLED="true"
- PHPCSFIXER_ENABLED="false"
- COVERALLS_ENABLED="false"

matrix:

Expand Down Expand Up @@ -84,13 +83,11 @@ before_install:
travis_retry composer require --dev satooshi/php-coveralls:^2.0@dev --no-update $COMPOSER_FLAGS;
fi


install:

- travis_retry composer update --prefer-dist --no-interaction --no-suggest --no-progress --ansi $COMPOSER_FLAGS $COMPOSER_UPDATE_FLAGS
- ./vendor/bin/simple-phpunit install


script:

- if [[ "$PHPUNIT_ENABLED" == "true" ]]; then
Expand All @@ -100,7 +97,6 @@ script:
vendor/bin/php-cs-fixer --dry-run --diff -vvv fix;
fi


after_success:

- if [[ "$PHPUNIT_ENABLED" == "true" && "$COVERALLS_ENABLED" == "true" ]]; then
Expand Down

0 comments on commit ed28cbd

Please sign in to comment.