Skip to content

Commit 1c0b978

Browse files
committed
Let's try this.....
1 parent a955294 commit 1c0b978

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.travis.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,19 @@ before_script:
146146
script:
147147
- PATH=$VIRTUAL_ENV/bin:$PATH
148148
- export LD_LIBRARY_PATH=$VIRTUAL_ENV/lib:$LD_LIBRARY_PATH
149-
- [[ $TRAVIS_PYTHON_VERSION != "2."* ]] && py.test
150-
-W default
151-
-W "ignore:SelectableGroups:DeprecationWarning"
152-
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
153-
-W "ignore:'U' mode::docutils.io"
154-
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
155-
-W "ignore:unclosed file:ResourceWarning:enum"
156-
-v --maxfail=20 test/ --cov=roundup
157-
- py.test -v --maxfail=20 test/ --cov=roundup
149+
- if [[ "$TRAVIS_PYTHON_VERSION" != "2."* ]]; then
150+
py.test
151+
-W default
152+
-W "ignore:SelectableGroups:DeprecationWarning"
153+
-W "ignore:the imp module:DeprecationWarning:gpg.gpgme:15"
154+
-W "ignore:'U' mode::docutils.io"
155+
-W "ignore:unclosed:ResourceWarning:roundup.roundup.demo"
156+
-W "ignore:unclosed file:ResourceWarning:enum"
157+
-v --maxfail=20 test/ --cov=roundup;
158+
fi
159+
- if [[ "$TRAVIS_PYTHON_VERSION" == "2."* ]]; then
160+
py.test -v --maxfail=20 test/ --cov=roundup;
161+
fi
158162

159163
after_success:
160164
- codecov

0 commit comments

Comments
 (0)