diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 0dfb0d0..5b3a26e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,9 @@ matrix: # language: shell # 'language: python' is an error on Travis CI Windows # before_install: choco install python # env: PATH=/c/Python37:/c/Python37/Scripts:$PATH +# before_script: # configure a headless display to test plot generation +# - "export DISPLAY=:99.0" +# - sleep 3 # give xvfb some time to start before_install: - ./.travis/before_install.sh # command to install dependencies @@ -34,6 +37,8 @@ install: - pip install flake8 pytest "pytest-cov<2.6" - pip install . # command to run tests + check syntax style +services: + - xvfb script: - python setup.py develop - flake8 examples/ ot/ test/ |