Skip to content

Commit 8e13928

Browse files
committed
Ignore GAE test on travis
1 parent a38a340 commit 8e13928

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: python
33
python:
44
- "2.6"
55
- "2.7"
6-
# - "3.2"
76
- "3.3"
87
install:
98
- "python setup.py develop"

pusher_tests/test_gae_adapter.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
import pusher
66
import httpretty
77
import sys
8+
import os
89

910
if (sys.version_info < (2,7)):
1011
import unittest2 as unittest
1112
else:
1213
import unittest
1314

14-
@unittest.skipIf(sys.version_info >= (3,), "skip")
15+
skip_test = (sys.version_info[0:2] != (2,7)) or os.environ.get("TRAVIS_PYTHON_VERSION")
16+
17+
@unittest.skipIf(skip_test, "skip")
1518
class TestGAEBackend(unittest.TestCase):
1619

1720
def setUp(self):

0 commit comments

Comments
 (0)