Better version rules for mocha-phantomjs

This commit is contained in:
Nicolas Le Goff
2013-06-12 13:44:55 +02:00
parent 325d54006a
commit d39736d278

View File

@@ -10,7 +10,7 @@ before_script:
- cp -f hudson/_GV.php config/
- node --version
- npm --version
- npm install bower mocha-phantomjs@2.0.3 karma recess@">=1.1.0 <1.1.7" uglify-js -g
- npm install bower mocha-phantomjs@">=2.0 <3.0" recess@">=1.1.0 <1.1.7" uglify-js -g
- 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 pecl install redis; fi;'