forked from JuliaStats/Statistics.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (46 loc) · 1.61 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
language: julia
os:
- linux
- osx
- windows
arch:
- amd64
- i386
- arm64
julia:
- 1.3
- 1.4
- nightly
notifications:
email: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# Needed to take precedence on Julia's version of Statistics
- julia -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"))'
- julia --project --check-bounds=yes -e 'import Pkg; Pkg.build();
using Statistics;
@assert pathof(Statistics) == joinpath(pwd(), "src", "Statistics.jl");
Pkg.test(; coverage=true)'
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
jobs:
exclude:
- os: osx
arch: i386
- os: osx
arch: arm64
- os: windows
arch: arm64
include:
- stage: "Documentation"
os: linux
julia: 1.3
script:
# Needed to take precedence on Julia's version of Statistics
- julia -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"))'
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate();
using Statistics;
@assert pathof(Statistics) == joinpath(pwd(), "src", "Statistics.jl");'
- julia --project=docs/ docs/make.jl
after_success: skip