forked from GiovineItalia/Gadfly.jl
/
.travis.yml
23 lines (23 loc) · 995 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: cpp
compiler:
- clang
notifications:
email: false
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
branches:
only:
- master
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install git libpcre3-dev julia -y
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.init(); Pkg.add("Cairo"); Pkg.add("RDatasets", v"0.1.1"); run(`ln -s $(pwd()) $(Pkg.dir("Gadfly"))`); Pkg.pin("Gadfly"); Pkg.resolve(); Pkg.checkout("Compose")'
- if [ $JULIAVERSION = "julianightlies" ]; then julia --code-coverage tests/test.jl; fi
- if [ $JULIAVERSION = "juliarelease" ]; then julia tests/test.jl; fi
- if [ $JULIAVERSION = "julianightlies" ]; then julia -e 'Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi