Skip to content

Commit 685f567

Browse files
committed
Optimized drupal core fetching process
1 parent c049cc8 commit 685f567

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ install:
2626
- nvm install node
2727
- nvm use node
2828
- npm install --global yarn
29-
- composer create-project drupal-composer/drupal-project:8.x-dev ../drupal --no-interaction
30-
- cd ../drupal
29+
- cd ../ && drush dl drupal-8 --drupal-project-rename=drupal
30+
- cd drupal
31+
- DRUPAL_ROOT=$(pwd)
3132
# See definition of variabled in Travis CI config.
3233
# - export REPOSITORIES='"repositories": \['
3334
# - export REPOSITORIES_REPLACE='"repositories": \[\{"type": "path","url": "..\/os2web", "options": \{"symlink": false\}\},\},'
@@ -36,7 +37,6 @@ install:
3637
- sed -i "s/$REPOSITORIES/$REPOSITORIES_REPLACE/g" composer.json
3738
- sed -i "s/$REQUIRE/$REQUIRE_REPLACE/g" composer.json
3839
- composer update
39-
- DRUPAL_ROOT=$(pwd)/web
4040
- cd $DRUPAL_ROOT/core
4141
- yarn install
4242
- npm install --global eslint-config-drupal-bundle stylelint

0 commit comments

Comments
 (0)