-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
65 lines (57 loc) · 1.57 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
julia:
- nightly
git:
depth: 999999
notifications:
email: false
branches:
only:
- master
- gh-pages # For building documentation
- /^testing-.*$/ # testing branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags
cache:
directories:
- $HOME/.julia/artifacts
# Ironic. He could provide binaries for others but not himself...
addons:
apt:
packages:
- curl
- wget
- p7zip-full
- tar
- gzip
jobs:
#allow_failures:
# - julia: nightly
include:
# Add a job that uses the privileged builder with squashfs shards
- julia: nightly
env:
- BINARYBUILDER_RUNNER=privileged
- BINARYBUILDER_USE_SQUASHFS=true
# Add a job that uses the unprivileged builder with unpacked shards
- julia: nightly
env:
- BINARYBUILDER_RUNNER=unprivileged
- BINARYBUILDER_USE_SQUASHFS=false
# Add a job that uses the docker builder with unpacked shards
- julia: nightly
env:
- BINARYBUILDER_RUNNER=docker
- BINARYBUILDER_USE_SQUASHFS=false
- stage: "Documentation"
julia: nightly
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
after_success:
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(process_folder())'