Permalink
Browse files

Run 2to3 separately from setup.py to try and appease TravisCI limits.

The idea is rather than one very slow step (setup.py install including 2to3),
we'll have several slow steps (do2to3 for Bio, do2to3 for Tests, etc, and
only then call setup.py install).
  • Loading branch information...
1 parent c77abb7 commit 9d844f1884541a9aac7bf896ca7d36d30177dc2a @peterjc peterjc committed Apr 9, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 .travis.yml
View
@@ -27,6 +27,10 @@ before_install:
- "export MSQL=$PG"
- "if [[ $PY3 == 'yes' ]]; then export MSQL=no; fi"
- "if [[ $MSQL == 'yes' ]]; then pip install mysql-python --use-mirrors; fi"
+#Pre-run 2to3 separately to try and appease the TravisCI watchdog step limits:
+ - "if [[ $PY3 == 'yes' ]]; then python do2to3.py Bio; fi"
+ - "if [[ $PY3 == 'yes' ]]; then python do2to3.py BioSQL; fi"
+ - "if [[ $PY3 == 'yes' ]]; then python do2to3.py Tests; fi"
install:
- "/usr/bin/yes | python setup.py install"

0 comments on commit 9d844f1

Please sign in to comment.