mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Update testacular to karma
This commit is contained in:
@@ -8,7 +8,7 @@ before_script:
|
|||||||
- rm -f config/services.yml config/connexions.yml config/config.yml config/config.inc config/connexion.inc config/_GV.php config/_GV.php.old
|
- rm -f config/services.yml config/connexions.yml config/config.yml config/config.inc config/connexion.inc config/_GV.php config/_GV.php.old
|
||||||
- cp -f hudson/connexion.inc config/
|
- cp -f hudson/connexion.inc config/
|
||||||
- cp -f hudson/_GV.php config/
|
- cp -f hudson/_GV.php config/
|
||||||
- npm install bower mocha-phantomjs testacular -g
|
- npm install bower mocha-phantomjs karma -g
|
||||||
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
- echo '' > ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
|
||||||
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
|
||||||
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then pecl install redis; fi;'
|
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then pecl install redis; fi;'
|
||||||
|
@@ -8,4 +8,4 @@ REM - NodeJS (http://nodejs.org/)
|
|||||||
REM - Testacular (npm install -g testacular)
|
REM - Testacular (npm install -g testacular)
|
||||||
|
|
||||||
set BASE_DIR=%~dp0
|
set BASE_DIR=%~dp0
|
||||||
testacular start "%BASE_DIR%\..\login\config\testacular.conf.js" %*
|
karma start "%BASE_DIR%\..\login\config\testacular.conf.js" %*
|
||||||
|
@@ -6,4 +6,4 @@ echo ""
|
|||||||
echo "Starting Testacular Server (http://vojtajina.github.com/testacular)"
|
echo "Starting Testacular Server (http://vojtajina.github.com/testacular)"
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
|
|
||||||
testacular start $BASE_DIR/../login/config/testacular.conf.js $*
|
karma start $BASE_DIR/../login/config/testacular.conf.js $*
|
||||||
|
Reference in New Issue
Block a user