-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (40 loc) · 1.84 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
#before_script:
# Every 30 seconds, look for the build log file. If it exists, then
# start watching its contents and printing them to stdout as they
# change. This has two effects:
# 1. it avoids Travis timing out because the build outputs nothing
# 2. it makes it more obvious what part of the build, if any, gets stuck
# - while sleep 30; do tail ~/build/DiffMu/DiffPrivacyInference.jl/deps/build.log -f ; done &
language: julia
julia:
- 1.6.0
codecov: true
# script:
# - bash scripts/custom-julia-build.sh
# after_success:
# # push coverage results to Coveralls
# # - julia -e 'cd(Pkg.dir("DiscretePredictors")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# # # push coverage results to Codecov
# # - julia -e 'cd(Pkg.dir("DiscretePredictors")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
# # run tests
# - julia -O0 --compile=min --check-bounds=yes --color=yes -e "using Pkg; Pkg.test(coverage=true);"
# # coverage
# - julia -O0 --compile=min --color=yes -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"
# jobs:
# include:
# - 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
# - stage: "Testing"
# julia: nightly
# os: linux
# script:
# - julia -O0 --compile=min --check-bounds=yes --color=yes -e "using Pkg; Pkg.test(coverage=true);"
# # coverage
# - julia -O0 --compile=min --color=yes -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"
# after_success: skip