-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
38 lines (35 loc) · 1.53 KB
/
.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
34
35
36
37
38
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: required
os:
- linux
- osx
julia:
- 1
addons:
apt:
packages:
- libgtk-3-dev
notifications:
email: false
script:
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))')
- git clone https://github.com/SISL/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "SISL"))')
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --project -e 'using Pkg; Pkg.add(PackageSpec(name="JSExpr", version="0.5"))'
- julia --project --color=yes --check-bounds=yes -e 'import Pkg; Pkg.build(); Pkg.test("AutoViz"; coverage=true)'
after_success:
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1
os: linux
script:
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))')
- git clone https://github.com/SISL/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "SISL"))')
- julia --project=docs/ -e 'using Pkg; Pkg.add("Documenter");
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip