Skip to content

Commit

Permalink
Merge pull request #1667 from tardyp/fix
Browse files Browse the repository at this point in the history
fix flaky test and cryptography gate
  • Loading branch information
Mikhail Sobolev committed May 17, 2015
2 parents c5c5180 + 3875cdb commit a4c5801
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -67,7 +67,7 @@ install:
# Determine if current configuration is latest
- |
if [[ $TWISTED == latest && \
if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $TWISTED == latest && \
$SQLALCHEMY = latest && $SQLALCHEMY_MIGRATE = latest ]]; then
export IS_LATEST=true
else
Expand All @@ -83,13 +83,14 @@ install:
- (cd master; python setup.py develop)
- (cd slave; python setup.py develop)
# mock is preinstalled on Travis
# txgithub requires Twisted >= 12.3.0, so we install it only when we test the
# latest Twisted to avoid unintended upgrades.
- "[ $IS_LATEST = true ] || pip install txgithub"
# txrequests support only Python 2.6 and 2.7.
- pip install txrequests

# Run additional tests only in latest configuration
# txgithub requires Twisted >= 12.3.0, so we install it only when we test the
# latest Twisted to avoid unintended upgrades.
# deps of txgithub cryptography requires python 2.7, so we only install txgithub for 2.7
- "[ $IS_LATEST = false ] || pip install txgithub"
# Astroid 1.3.0 dropped Python-2.6 spuport
- "[ $IS_LATEST = false ] || pip install 'astroid<1.3.0'"
# Note pylint version is pinned because newer versions can't import zope.interface - http://www.logilab.org/92792
Expand Down
2 changes: 2 additions & 0 deletions master/buildbot/steps/shell.py
Expand Up @@ -146,6 +146,8 @@ def _describe(self, done=False):
return None

def describe(self, done=False):
if self.stopped and not self.rendered:
return u"stopped early"
assert(self.rendered)
desc = self._describe(done)
if not desc:
Expand Down

0 comments on commit a4c5801

Please sign in to comment.