mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-25 00:53:23 +08:00
Revert "Fix failing tests if token is not set"
This reverts commit 6135d25146
.
This commit is contained in:
parent
6135d25146
commit
dffc508cc8
2 changed files with 3 additions and 5 deletions
|
@ -12,7 +12,7 @@ imports:
|
|||
tools:
|
||||
external_code_coverage: true
|
||||
external_code_coverage:
|
||||
timeout: 600 # Timeout in seconds: 10 min
|
||||
timeout: 7200 # Timeout in seconds: 2 hours
|
||||
php_mess_detector: true
|
||||
php_code_sniffer: true
|
||||
sensiolabs_security_checker: true
|
||||
|
|
|
@ -66,10 +66,8 @@ script:
|
|||
|
||||
|
||||
# Create coverage report
|
||||
- sh -c "if [ -z "${CODACY_PROJECT_TOKEN+xxx}" ]; then echo 'Codacy token is not set'; fi"
|
||||
- sh -c "if [ -z "${CODACY_PROJECT_TOKEN}" -a '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php vendor/bin/codacycoverage -v clover coverage.clover; fi"
|
||||
- sh -c "if [ -z "${SCRUTINIZER_TOKEN+xxx}" ]; then echo 'Scrutinizer token is not set'; fi"
|
||||
- sh -c "if [ -z "${SCRUTINIZER_TOKEN}" -a '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php ocular.phar code-coverage:upload --access-token="$SCRUTINIZER_TOKEN" --format=php-clover coverage.clover; fi"
|
||||
- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php vendor/bin/codacycoverage -v clover coverage.clover; fi"
|
||||
- sh -c "if [ '$JSTESTS' != '1' -a '$CODECHECK' = '1' ]; then php ocular.phar code-coverage:upload --access-token="$SCRUTINIZER_TOKEN" --format=php-clover coverage.clover; fi"
|
||||
|
||||
|
||||
- sh -c "if [ '$JSTESTS' = '1' ]; then grunt jshint; fi"
|
||||
|
|
Loading…
Reference in a new issue