-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Make the travis output quieter on v1.2.x #1965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,15 @@ python: | |
- 2.6 | ||
- 2.7 | ||
- 3.2 | ||
- 3.3 | ||
|
||
install: | ||
- pip install --use-mirrors nose | ||
# This is a workaround to install numpy with the version of | ||
# virtualenv in Travis. If that is updated in the future, this can | ||
# be simplified to 'pip install numpy' | ||
- 'if [ $TRAVIS_PYTHON_VERSION == "3.2" ]; then pip install https://github.com/y-p/numpy/archive/1.6.2_with_travis_fix.tar.gz; fi' | ||
- 'if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install numpy; fi' # should be nop if pre-installed | ||
- if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip install --use-mirrors PIL; fi | ||
- sudo apt-get update && sudo apt-get install inkscape | ||
- pip -q install --use-mirrors nose numpy | ||
- if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then pip -q install --use-mirrors PIL; fi | ||
- sudo apt-get -qq update && sudo apt-get -qq install inkscape | ||
- python setup.py install | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looked intentional, though I've no idea why it was here. I guess so long as the test all pass it is fine (this is just There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Numpy 1.6.2 was released with a bug that made it incompatible with Python 3.2 on Travis, so we explicitly linked to a patched version. Now that Numpy 1.7 is out and is the default one gets from |
||
|
||
script: | ||
- mkdir ../tmp_test_dir | ||
- cd ../tmp_test_dir | ||
- python ../matplotlib/tests.py | ||
- python ../matplotlib/tests.py -sv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been meaning to bring this up on the mailing list but PIL is a dead horse IMHO. Pillow seems to be the actively developed fork (I've had changes merged very quickly in pillow recently) so I wonder if we can get rid of the if statement and use is on all Python versions: https://pypi.python.org/pypi/Pillow/ .
Lets keep that out of this PR though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah -- maybe we should open an issue about moving to Pillow.