Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
back to explicitly telling travis our versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Buck Golemon committed Nov 24, 2014
1 parent a89d970 commit 0570dfb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: python
env: # These should match the tox env list
# ordered by "most likely to fail in a unique way" first
- TOXENV=py34-lint
# - TOXENV=pypy3-test
- TOXENV=py34-test
# - TOXENV=pypy-test
- TOXENV=py26-test
- TOXENV=py27-test
- TOXENV=py27-lint
python:
- "2.6"
- "2.7"
- "3.4"
# - pypy
# - pypy3
env:
- TOXENV=lint
- TOXENV=test
matrix:
# notify a failed build as soon as anything fails
fast_finish: true
Expand All @@ -16,7 +16,8 @@ install:
# My tests need some package to be reliably installed to system-site-packages.
# This should maybe be a fixture of some kind,
# but I'd have to build python from source I think =/
- sudo $(python -c 'import sys; print(sys.real_prefix)')/bin/pip install virtualenv
- SYS_REAL_PREFIX=$(python -c 'import sys; print(sys.real_prefix)')
- sudo ${SYS_REAL_PREFIX}/bin/pip install virtualenv
script: tox
after_success:
- find -name '.coverage*' | xargs mv -t .
Expand Down
2 changes: 1 addition & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ py.test -n $NCPU \
--cov --cov-config=$TOP/.coveragerc --cov-report='' \
"$@" $TOP/tests $SITEPACKAGES/${PROJECT}.py
coverage combine
coverage report --rcfile=$TOP/.coveragerc --fail-under 96 # TODO: should be 100
coverage report --rcfile=$TOP/.coveragerc --fail-under 97 # TODOt : should be 100

0 comments on commit 0570dfb

Please sign in to comment.