Skip to content

Commit

Permalink
[CI] travis and codecov configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfischer2781 committed Aug 1, 2017
1 parent da51997 commit 05ba846
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
- "3.5-dev"
- "3.6-dev"
- "3.7-dev"
- "nightly" # currently points to 3.7-dev
os:
- linux
# - osx # osx+python installation fails
matrix:
# ignore all but the most recent, stable releases
allow_failures:
- python: "2.7"
- python: "3.5-dev"
- python: "3.6-dev"
- python: "nightly"
before_script:
- export PYTHONHASHSEED=${PYTHONHASHSEED:-${RANDOM}}
- echo "export PYTHONHASHSEED=${PYTHONHASHSEED}"
- pip install codecov
- export COVERAGE_PROCESS_START=$(pwd)/.coveragerc
script:
- coverage run setup.py test
after_success:
- coverage report && codecov
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage:
ignore:
- graphi_unittests
- graphi/__about__.py

0 comments on commit 05ba846

Please sign in to comment.