Skip to content

Commit dc7e438

Browse files
authored
Fix tests on Travis CI (drupal-composer#405)
1 parent 04138e3 commit dc7e438

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ env:
1919

2020
matrix:
2121
exclude:
22-
- php: 7.2
23-
env: RELEASE=stable COMPOSER_CHANNEL=stable
24-
- php: 7.2
22+
- php: 5.6
23+
env: RELEASE=dev COMPOSER_CHANNEL=stable
24+
- php: 5.6
2525
env: RELEASE=stable COMPOSER_CHANNEL=snapshot
2626

2727
before_install:
28+
- if [[ $TRAVIS_PHP_VERSION = 5.6 ]]; then export COMPOSER_MEMORY_LIMIT=-1; fi;
2829
- echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
2930
- phpenv config-rm xdebug.ini
3031
- composer --verbose self-update --$COMPOSER_CHANNEL
@@ -44,6 +45,7 @@ script:
4445
- until curl -s $SIMPLETEST_BASE_URL; do true; done > /dev/null
4546
# Skip core/tests/Drupal/Tests/ComposerIntegrationTest.php because web/ has no composer.json
4647
# Ignore PageCache group temporarily, @see https://www.drupal.org/node/2770673
47-
- ./../vendor/bin/phpunit -c core --testsuite unit --exclude-group Composer,DependencyInjection,PageCache
48+
# Ignore Setup group temporarily, @see https://www.drupal.org/node/2962157
49+
- ./../vendor/bin/phpunit -c core --testsuite unit --exclude-group Composer,DependencyInjection,PageCache,Setup
4850
- ./../vendor/bin/drush
4951
- if [[ $RELEASE = stable ]]; then ./../vendor/bin/drupal; fi;

0 commit comments

Comments
 (0)