Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fd199ff

Browse files
committed
Do not ignore platform requirements on CI
We need to install versions that can be used by the platform under which the tests are running.
1 parent 3bcbcd3 commit fd199ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ notifications:
3131

3232
before_install:
3333
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
34-
- composer self-update
35-
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
3634

3735
install:
38-
- travis_retry composer install --no-interaction --ignore-platform-reqs
36+
- travis_retry composer install --no-interaction
37+
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev satooshi/php-coveralls ; fi
3938

4039
script:
4140
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi

0 commit comments

Comments
 (0)