mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-26 01:24:35 +08:00
Update travis.
This commit is contained in:
parent
c46311b774
commit
7e98f3431b
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue