1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Use install_dev.sh for Travis

Add `--no-dev` to `composer install` for prod env
This commit is contained in:
Jeremy Benoist 2016-10-03 14:33:05 +02:00
parent 8fdb5e5766
commit 4ac780eb21
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 20 additions and 21 deletions

View file

@ -1,13 +1,14 @@
#! /usr/bin/env bash
echo "Installing PHP dependencies (including dev) through Composer..."
composer install
echo " > Installing PHP dependencies (including dev) through Composer..."
composer install -o --no-interaction --no-progress --prefer-dist
echo "Downloading librairies through npm..."
npm install
if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then
echo " > Downloading librairies through npm..."
npm install
echo "Concat, minify and installing assets..."
grunt
echo " > Concat, minify and installing assets..."
grunt
fi
echo "Installing wallabag..."
php bin/console wallabag:install
echo " > Install finished"