Update travis.

This commit is contained in:
brantje 2016-10-08 01:57:08 +02:00
parent c46311b774
commit 7e98f3431b
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -37,7 +37,7 @@ before_install:
- ./occ app:list
- nvm install 5.9
- npm install -g npm@latest
- npm install grunt-cli -g
- sh -c "if [ '$JSTESTS' = '1' ]; then npm install grunt-cli -g; fi"
#
@ -51,7 +51,7 @@ before_script:
- cd apps/$APP_NAME/
- mkdir -p build
- curl -sSL https://phar.phpunit.de/phpunit.phar -o build/phpunit.phar
- npm install
- sh -c "if [ '$JSTESTS' = '1' ]; then npm install; fi"
# - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass=''
@ -69,7 +69,7 @@ script:
#- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
#- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' != '1' -a '$CODECHECK' != '2' ]; then php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi"
#- cd ../
- sh -c "if [ '$JSTESTS' == '1' -a '$CODECHECK' == '1']; then grunt jshint; fi"
- sh -c "if [ '$JSTESTS' = '1' ]; then grunt jshint; fi"
#after_failure: