-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
30 lines (30 loc) · 856 Bytes
/
.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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
julia:
- 1
# - nightly
notifications:
email: false
git:
depth: 99999999
# matrix:
# allow_failures:
# julia: nightly
dist: xenial
env:
- GROUP=Core
- GROUP=Stan
before_install: |
if [[ "$GROUP" == "Stan" ]]; then
url="https://github.com/stan-dev/cmdstan/releases/download/v2.21.0/cmdstan-2.21.0.tar.gz"
curl -L "$url" | tar zxf -
export JULIA_CMDSTAN_HOME="$(pwd)/cmdstan-2.21.0"
make -C "$JULIA_CMDSTAN_HOME" build
fi
after_success:
# push coverage results to Coveralls
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'