Browse Source

Merge abb119fb86 into 290c337fcf

pull/1076/merge
Victor Arnaud 9 years ago
committed by GitHub
parent
commit
aa7e08f1f9
  1. 41
      .codeclimate.yml
  2. 6
      .travis.yml
  3. 1
      requirements/requirements.txt

41
.codeclimate.yml

@ -0,0 +1,41 @@
engines:
csslint:
enabled: true
checks:
important:
enabled: false
duplication:
enabled: true
config:
languages:
count_threshold: 3
python:
python_version: 3
mass_threshold: 60
eslint:
enabled: true
fixme:
enabled: true
radon:
enabled: true
pep8:
enabled: true
checks:
E501:
enabled: false
E111:
enabled: false
E114:
enabled: false
ratings:
paths:
- "**.js"
- "**.py"
- "**.css"
- "**.html"
exclude_paths:
- "manage.py"
- "sapl/__init__.py"
- "sapl/**/migrations/*"
- "sapl/**/legacy/*"
- "sapl/relatorios/"

6
.travis.yml

@ -18,9 +18,11 @@ before_script:
script:
- ./manage.py migrate
- ./manage.py bower install
- py.test --create-db
# - ./test_and_check_qa.sh
- py.test --create-db --cov . --cov-report term
addons:
hosts:
- 127.0.0.1 sapldb
after_sucess:
- CODECLIMATE_REPO_TOKEN=4d19e43ef9a92ca21314499fc1cc4e127cc5a4dea7fcc5b8e36e03780ada43c9 codeclimate-test-reporter

1
requirements/requirements.txt

@ -33,3 +33,4 @@ python-magic==0.4.12
gunicorn==19.6.0
django-reversion==2.0.8
whoosh==2.7.4
codeclimate-test-reporter

Loading…
Cancel
Save