Skip to content

Commit 4394503

Browse files
authored
Fix Travis CI integration (#575)
1 parent d8967c7 commit 4394503

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: php
2-
dist: trusty
2+
dist: bionic
33
sudo: false
44

55
php:
@@ -8,6 +8,7 @@ php:
88

99
env:
1010
global:
11+
- COMPOSER_MEMORY_LIMIT=-1
1112
- SIMPLETEST_DB=sqlite://tmp/site.sqlite
1213
- SIMPLETEST_BASE_URL="http://127.0.0.1:8080"
1314
matrix:
@@ -16,6 +17,10 @@ env:
1617
- RELEASE=stable COMPOSER_CHANNEL=snapshot
1718

1819
before_install:
20+
# https://www.drupal.org/project/drupal/issues/3107155
21+
- sudo echo "deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse" >> /etc/apt/sources.list
22+
- sudo apt-get update
23+
- sudo apt-get -y install sqlite3/focal
1924
- echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
2025
- phpenv config-rm xdebug.ini
2126
- composer --verbose self-update --$COMPOSER_CHANNEL
@@ -32,6 +37,5 @@ script:
3237
- ./vendor/bin/drush runserver $SIMPLETEST_BASE_URL &
3338
- until curl -s $SIMPLETEST_BASE_URL; do true; done > /dev/null
3439
# Run a single unit test to verfiy the testing setup.
35-
- ./vendor/bin/phpunit -c ./web/core ./web/core/modules/system/tests/src/Unit/SystemRequirementsTest.php
40+
- ./vendor/bin/phpunit -c ./web/core ./web/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
3641
- ./vendor/bin/drush
37-
- if [[ $RELEASE = stable ]]; then ./vendor/bin/drupal; fi;

0 commit comments

Comments
 (0)