Skip to content

Commit

Permalink
Travis: run autotests 3 times for each configuration
Browse files Browse the repository at this point in the history
There have been a couple of times where flaky tests were merged.
Let's run autotests more times to make it less likely flaky tests
can be merged.
  • Loading branch information
rohanpm committed Apr 15, 2018
1 parent f74880a commit 07d5102
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,24 @@ branches:
- master
matrix:
include:
# Each python version is repeated multiple times here to make flaky
# tests less likely to get past Travis by running them more times
- python: "2.6"
env: TOX_ENV=py26
env: TOX_ENV=py26 ITER=1
- python: "2.6"
env: TOX_ENV=py26 ITER=2
- python: "2.6"
env: TOX_ENV=py26 ITER=3
- python: "2.7"
env: TOX_ENV=py27 ITER=1
- python: "2.7"
env: TOX_ENV=py27
env: TOX_ENV=py27 ITER=2
- python: "2.7"
env: TOX_ENV=py27 ITER=3
- python: "3.5"
env: TOX_ENV=py35 ITER=1
- python: "3.5"
env: TOX_ENV=py35 ITER=2
- python: "3.5"
env: TOX_ENV=cov-travis
- python: "3.5"
Expand Down

0 comments on commit 07d5102

Please sign in to comment.