39 lines
866 B
YAML
39 lines
866 B
YAML
# Documentation: http://docs.travis-ci.com/user/languages/julia/
|
|
language: julia
|
|
os:
|
|
- linux
|
|
# - osx
|
|
julia:
|
|
- 1
|
|
- 1.4
|
|
- nightly
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- julia: nightly
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- at-spi2-core
|
|
- libgtk-3-dev
|
|
- xauth
|
|
- xvfb
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.julia/artifacts
|
|
|
|
sudo: required
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pwd ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./test/install_wkhtmltoimage.sh ; fi
|
|
|
|
notifications:
|
|
email: true
|
|
|
|
script:
|
|
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
|
- if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi
|
|
- $TESTCMD -e 'using Pkg; if VERSION == v"1.4"; Pkg.resolve(); end; Pkg.pin(PackageSpec(name="FixedPointNumbers", version="0.7")); Pkg.build(); Pkg.test(coverage=true)'
|