Plots.jl/.travis.yml
Daniel Schwabeneder 1fad9881dd use xvfb
2019-06-18 22:25:33 +02:00

31 lines
596 B
YAML

# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
# - osx
julia:
- 1.1
- nightly
matrix:
allow_failures:
- julia: nightly
sudo: required
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pwd ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./test/install_wkhtmltoimage.sh ; fi
addons:
apt:
packages:
- python3-matplotlib
- xvfb
notifications:
email: true
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- xvfb-run julia -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'