Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Nov 30, 2016
1 parent 9b05b73 commit 1008b5f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ script:
- cd src/bootstrap-env
- git checkout -qf ${TRAVIS_COMMIT}
- echo $(pwd)
- coverage run --parallel-mode ./setup.py nosetests
- coverage run --source=bootstrap_env --parallel-mode ./setup.py nosetests
- coverage combine
- coverage report

after_success: coveralls

Expand Down
20 changes: 12 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ version: "{build}"
build: false

environment:
global:
COVERALLS_SERVICE_NAME: AppVeyor
COVERALLS_REPO_TOKEN:
secure: NtVDkuJYChPKhQpSQUlKEKg5aVyzeI8no
matrix:
- PYTHON: "C:/Python27/python.exe"
- PYTHON: "C:/Python35/python.exe"
Expand All @@ -38,13 +34,21 @@ install:
- "pip install --upgrade pip"
- "pip --version"
- "pip install ."
- "pip install virtualenv nose coveralls"

# - "pip install virtualenv nose coveralls"
- "pip install virtualenv nose"

# Use a newer Version than v1.1 from PyPi, see:
# https://github.com/coagulant/coveralls-python/pull/97
- "pip install https://github.com/coagulant/coveralls-python/archive/master.zip"

- "pip freeze"

test_script:
- coverage run ./setup.py nosetests
- coverage run --source=bootstrap_env ./setup.py nosetests

on_success:
- coverage combine
after_test:
# - ps: "ls .coverage"
- coverage report
- set COVERALLS_REPO_TOKEN=NtVDkuJYChPKhQpSQUlKEKg5aVyzeI8no
- coveralls

0 comments on commit 1008b5f

Please sign in to comment.