Skip to content

Commit

Permalink
Attempt to fix pyplot error in Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherjoshsmith committed Feb 27, 2018
1 parent feeda44 commit 24b7070
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ install:
- travis_retry pip install -r requirements.txt
- travis_retry pip install -e .

before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start

script:
- flake8 --ignore N802,N806 `find . -name \*.py | grep -v setup.py | grep -v version.py | grep -v __init__.py | grep -v /doc/`
- mkdir for_test
Expand Down

0 comments on commit 24b7070

Please sign in to comment.