forked from JuliaAstro/AstroImageView.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (32 loc) · 798 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
24
25
26
27
28
29
30
31
32
33
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: required
os:
- linux
- osx
julia:
- 1.0
- 1.1
- nightly
matrix:
allow_failures:
- julia: nightly
- os: osx
fast_finish: true
notifications:
email: false
addons:
apt:
packages:
- xvfb
- xauth
- libgtk-3-0
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.build()'
- if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi
- $TESTCMD -e 'using Pkg;
Pkg.build("AstroImageView");
Pkg.test("AstroImageView"; coverage=true)'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'