Skip to content

Commit

Permalink
Travis: WordPress install now needs to happen after npm ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
pento committed Aug 16, 2019
1 parent 1618970 commit 64e361e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@ before_install:
curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
fi
install:
- npm ci
- npm run build
- |
if [[ "$WORDPRESS" = "true" ]]; then
# Install WordPress
npm run env install
mkdir -p wordpress/build/wp-content/uploads
chmod 767 wordpress/build/wp-content/uploads
fi
install:
- npm ci
- npm run build
- |
if [[ "$COMPOSER_INSTALL" = "true" ]]; then
npm run env docker-run -- php composer install
Expand Down

0 comments on commit 64e361e

Please sign in to comment.