forked from trixi-framework/Trixi.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (57 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# https://docs.travis-ci.com/user/languages/julia/
language: julia
julia:
- 1 # latest 1.x.y
- nightly
os:
- linux
jobs:
allow_failures:
- julia: nightly
include:
- if: type = push AND branch = master
julia: 1
os: osx
# - stage: "Documentation"
# julia: 1
# os: linux
# script:
# - julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
# Pkg.build("Trixi");
# Pkg.instantiate()'
# - julia --project=docs/ docs/make.jl
# after_success: skip
# coveralls with merging of multiple builds, cf. https://docs.coveralls.io/parallel-build-webhook
coveralls: true
env:
global:
- COVERALLS_PARALLEL=true
jobs:
- TRIXI_TEST=2D
- TRIXI_TEST=3D
- TRIXI_TEST=misc
- TRIXI_TEST=paper-self-gravitating-gas-dynamics
notifications:
webhooks: https://coveralls.io/webhook
email: false
# codecov merges multiple reports automatically, cf. https://docs.codecov.io/docs/merging-reports
codecov: true
# avoid duplicate tests in PRs
branches:
only:
- master
# we could use groups to trigger multiple builds in parallel to speed-up running expensive tests
# env:
# - GROUP=SomeGroupName
# we could install binary dependencies if necessary
# addons:
# apt:
# packages:
# - gfortran
# script:
# default build script along the lines of
# using Pkg
# Pkg.build() # Pkg.build(; verbose = true) for Julia 1.1 and up
# Pkg.test(coverage=true)
# submit coverage reports (enabled already above) and/or deploy docs
# after_success: