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:
parent
8fdb5e5766
commit
4ac780eb21
3 changed files with 20 additions and 21 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue