Skip to content

Commit

Permalink
Run coverage only on Python 2.7
Browse files Browse the repository at this point in the history
There are currently issues with PyPy for some reason.

Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Aug 2, 2018
1 parent 4611f38 commit c51f968
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ language: python
matrix:
include:
- python: "2.7"
before_install:
- pip install coveralls pylint
env: COVERAGE="--with-coverage --cover-package=rebench"
after_success:
coveralls
- python: "3.6"
before_install:
- pip install coveralls pylint
# PyPy versions
- python: pypy
env: DO_LINT="echo On PyPy, we won't "
- python: pypy3
env: DO_LINT="echo On PyPy, we won't "

dist: trusty
sudo: false
Expand All @@ -17,14 +26,10 @@ addons:
- time

install:
- pip install coveralls pylint
- pip install .

# command to run tests
script:
- nosetests --with-coverage --cover-package=rebench
- nosetests ${COVERAGE}
- (cd rebench && rebench -N ../rebench.conf e:TestRunner2)
- pylint rebench

after_success:
coveralls
- ${DO_LINT} pylint rebench

0 comments on commit c51f968

Please sign in to comment.