Skip to content

Commit

Permalink
Fix problems on CI, conventions are not checked. (#173)
Browse files Browse the repository at this point in the history
* fix problems in CI for conventions.

On CI (Travis and Appveyor) the lint Checks does not run and therefore the master is dirty.
  • Loading branch information
loechel committed Sep 2, 2019
1 parent 68cc7b7 commit 64f238e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -5,7 +5,7 @@ matrix:
include:
- name: "docs,lint"
python: "3.6"
env: TOXENV=docs,lint
env: TOXENV=docs,lint-py36
before_install:
after_success:
- python: "2.7"
Expand All @@ -18,8 +18,10 @@ matrix:
env: TOXENV=py37,py37-datetime
- python: "3.8-dev"
env: TOXENV=py38,py38-datetime

before_install:
- travis_retry pip install -U -c constraints.txt coveralls coverage

install:
- travis_retry pip install -U pip setuptools
- travis_retry pip install -U -c constraints.txt tox
Expand All @@ -33,5 +35,6 @@ after_success:

notifications:
email: false

cache:
pip: true
6 changes: 3 additions & 3 deletions appveyor.yml
Expand Up @@ -2,9 +2,9 @@

environment:
matrix:
- PROFILE: py27-conventions
PYTHON_VERSION: "2.7"
TOXENV: "lint,docs"
- PROFILE: conventions
PYTHON_VERSION: "3.6"
TOXENV: "docs,lint-py36"
- PROFILE: py27
PYTHON_VERSION: "2.7"
TOXENV: "py27,py27-datetime"
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -46,6 +46,8 @@ source = .

[coverage:report]
precision = 2
#fail_under = 100
skip_covered = True
show_missing = True
sort = Name

Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Expand Up @@ -48,10 +48,9 @@ commands =
coverage combine
coverage html
coverage xml
coverage report --skip-covered --show-missing --fail-under=100.0
coverage report --fail-under=100.0

[testenv:isort-apply]
basepython = python2.7
skip_install = true
deps =
-cconstraints.txt
Expand Down

0 comments on commit 64f238e

Please sign in to comment.