Skip to content

Commit

Permalink
fix matplotlib travis error
Browse files Browse the repository at this point in the history
  • Loading branch information
TsumiNa committed Jan 19, 2018
1 parent dc1d2dd commit 15c8ad7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ install: source travis_install.sh
script:
- python -m unittest discover

# use non-interactive backend
env:
- PYTHON_VERSION="3.5"
- PYTHON_VERSION="3.6"
- PYTHON_VERSION=3.5 BACKEND=agg
- PYTHON_VERSION=3.6 BACKEND=agg
4 changes: 0 additions & 4 deletions travis_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,5 @@ python -c "import numpy; print('numpy %s' % numpy.__version__)"
python -c "import scipy; print('scipy %s' % scipy.__version__)"
python -c "import pandas; print('pandas %s' % pandas.__version__)"

# use non-interactive backend
python -c "import matplotlib as mpl; mpl.use('agg')"
python -c "import matplotlib as mpl; print(mpl.rcsetup.interactive_bk)"
python -c "import matplotlib as mpl; print(mpl.rcsetup.non_interactive_bk)"

#python setup.py install

0 comments on commit 15c8ad7

Please sign in to comment.