Skip to content

Commit f1a27a8

Browse files
committed
Merge pull request #37 from drupal-composer/webflo-patch-2
Update travis integration: test stable and dev.
2 parents 86c1bf7 + 7c1288d commit f1a27a8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ install:
1414
- composer --verbose install
1515

1616
script:
17-
- cd web
17+
# Test stable release
18+
- cd $TRAVIS_BUILD_DIR/web
19+
- ./../vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite
20+
# Skip core/tests/Drupal/Tests/ComposerIntegrationTest.php because web/ has no composer.json
21+
- ./../vendor/bin/phpunit -c core --exclude-group Composer
22+
23+
# Test dev release
24+
- cd $TRAVIS_BUILD_DIR/web
25+
- composer -vvv require drupal/core:8.0.x-dev
1826
- ./../vendor/bin/drush site-install --verbose --yes --db-url=sqlite://tmp/site.sqlite
1927
# Skip core/tests/Drupal/Tests/ComposerIntegrationTest.php because web/ has no composer.json
2028
- ./../vendor/bin/phpunit -c core --exclude-group Composer

0 commit comments

Comments
 (0)