File tree 2 files changed +21
-11
lines changed
2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change
1
+ # This is a sample .codeclimate.yml configured for Engine analysis on Code
2
+ # Climate Platform. For an overview of the Code Climate Platform, see here:
3
+ # http://docs.codeclimate.com/article/300-the-codeclimate-platform
4
+ # Under the engines key, you can configure which engines will analyze your repo.
5
+ version : " 2"
6
+ exclude_patterns :
7
+ - build/*
8
+ - dist/*
9
+ - shallow_backup.egg-info/*
10
+
11
+ plugins :
12
+ radon :
13
+ enabled : true
14
+ config :
15
+ threshold : " C"
16
+ sonar-python :
17
+ enabled : true
18
+ config :
19
+ tests_patterns :
20
+ - tests/*
Original file line number Diff line number Diff line change @@ -7,20 +7,10 @@ install:
7
7
- pip install pipenv
8
8
- pipenv install --dev
9
9
10
- before_script :
11
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
12
- - chmod +x ./cc-test-reporter
13
- - export CC_TEST_REPORTER_ID=ba897ecaeb793815f8118d14044a97caa9c25ef4188267313d15eba84e8c987a
14
- - ./cc-test-reporter before-build
15
-
16
10
# command to run tests
17
11
script :
18
12
- cd tests
19
13
- pipenv run python3 -m pytest
20
14
21
15
git :
22
- depth : false
23
-
24
- # Pipe the coverage data to Code Climate
25
- after_script :
26
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
16
+ depth : false
You can’t perform that action at this time.
0 commit comments