Skip to content

Commit 7b0cf20

Browse files
committed
code quality scrutinizer
1 parent c9a848d commit 7b0cf20

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.scrutinizer.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
checks:
2+
php:
3+
code_rating: true
4+
duplication: true
5+
26
python:
37
code_rating: true
48
duplicate_code: true
59

10+
ruby:
11+
code_rating: true
12+
duplicate_code: true
13+
614
tools:
715
external_code_coverage:
816
timeout: 12000 # Timeout in seconds.

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ install:
1010
- "pip install requests --use-mirrors"
1111
- "pip install scrutinizer-ocular --use-mirrors"
1212
before_script:
13-
- "flake8 --show-source --show-pep8 --max-line-length=160 ."
1413
- export QINIU_ACCESS_KEY="QWYn5TFQsLLU1pL5MFEmX3s5DmHdUThav9WyOWOm"
1514
- export QINIU_SECRET_KEY="Bxckh6FA-Fbs9Yt3i3cbKVK22UPBmAOHJcL95pGz"
1615
- export QINIU_TEST_BUCKET="pythonsdk"
1716
- export QINIU_TEST_DOMAIN="pythonsdk.qiniudn.com"
1817
- export QINIU_TEST_ENV="travis"
1918
- export PYTHONPATH="$PYTHONPATH:."
2019
script:
20+
- flake8 --show-source --show-pep8 --max-line-length=160 .
2121
- py.test --cov qiniu
2222
- ocular --data-file .coverage

0 commit comments

Comments
 (0)