Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jedie committed Aug 25, 2016
1 parent cf780d7 commit 8d0aa66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,10 @@ matrix:

install:
- pip install --upgrade pip
- pip install 'tox>=2.3.1' coveralls
- travis_retry pip install 'tox>=2.3.1' coveralls

script: COMMAND='coverage run --source=reversion_compare' tox -e$TOXENV

after_success:
- coverage combine
- coverage report
- coveralls
script:
- travis_retry tox

notifications:
irc: "irc.freenode.org#pylucid"
9 changes: 8 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist =
{py27,py34,py35}-django{18,19,110}{-dmp,}

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
usedevelop = True

deps =
Expand All @@ -13,4 +19,5 @@ deps =

commands =
python --version
{env:COMMAND:python} runtests.py
coverage run --source=reversion_compare runtests.py
coveralls

0 comments on commit 8d0aa66

Please sign in to comment.