Skip to content

Commit 77d01ae

Browse files
committed
Adjusted travis build
1 parent c6afa74 commit 77d01ae

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
@@ -13,16 +13,16 @@ install:
1313
- nvm install node
1414
- nvm use node
1515
- npm install --global yarn
16-
- cd ../ && drush dl drupal-8 --drupal-project-rename=drupal
16+
- cd ../ && composer create-project drupal-composer/drupal-project:8.x-dev drupal --no-interaction
1717
- cd drupal
18-
- DRUPAL_ROOT=$(pwd)
18+
- DRUPAL_ROOT=$(pwd)/web
1919
- export REPOSITORIES='"repositories":\ \['
2020
- export REPOSITORIES_REPLACE='"repositories":\[\{"type":"path","url":"..\/os2web_datalookup","options":\{"symlink":false\}\},'
2121
- export REQUIRE='"require":\ {'
2222
- export REQUIRE_REPLACE='"require":{"os2web\/os2web_datalookup":"\*",'
2323
- sed -i "s/$REPOSITORIES/$REPOSITORIES_REPLACE/g" composer.json
2424
- sed -i "s/$REQUIRE/$REQUIRE_REPLACE/g" composer.json
25-
- composer update
25+
- composer update os2web/os2web_datalookup
2626
- PROJECT_PATH=$DRUPAL_ROOT/modules/contrib/os2web_datalookup
2727
- cd $DRUPAL_ROOT/core
2828
- yarn install

0 commit comments

Comments
 (0)