Skip to content

Commit

Permalink
Merge pull request #683 from tomato42/fix-py2.6
Browse files Browse the repository at this point in the history
fix CI
  • Loading branch information
tomato42 committed Jul 20, 2020
2 parents 49ae595 + 3485a73 commit 0574741
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ before_install:

install:
- if [[ -e build-requirements-${TRAVIS_PYTHON_VERSION}.txt ]]; then travis_retry pip install -r build-requirements-${TRAVIS_PYTHON_VERSION}.txt; else travis_retry pip install -r build-requirements.txt; fi
- if [[ $EXTRACT_DEP == 'true' ]]; then travis_retry pip install "dpkt>=1.9.2"; fi
- |
if [[ $EXTRACT_DEP == 'true' ]]; then
if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then
travis_retry pip install "dpkt==1.9.2";
else
travis_retry pip install "dpkt>=1.9.2";
fi
fi
- if [[ $ANALYSIS_DEP == 'true' ]]; then travis_retry pip install -r build-requirements-analysis.txt; fi
- travis_retry pip install -r requirements.txt
# codeclimate supports natively just one set of results, so use the most recent python for that
Expand Down
1 change: 1 addition & 0 deletions tlsfuzzer/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def ks_test(self):
def box_plot(self):
"""Generate box plot for the test classes."""
axes = self.data.plot(kind="box", showfliers=False)
axes.set_xticks(range(len(self.data)))
axes.set_xticklabels(list(range(len(self.data))))

plt.title("Box plot")
Expand Down

0 comments on commit 0574741

Please sign in to comment.