-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsave.travis.yml
63 lines (52 loc) · 1.41 KB
/
save.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
language: r
r:
- 4.0
dist: bionic ## removed Aug 2020 due to travis errors, see: https://travis-ci.community/t/r-install-broken-travis-ci-rstudio-org-returns-403/9640; added back Sep 2020 as seemed fine on further testing
sudo: false
cache:
packages: true
directories:
- $HOME/.cache/pip
# We parallelize the tests into baches, and run only one batch on OS X.
matrix:
include:
- os: osx
env: NIMBLE_TEST_BATCH=1
- os: linux
env: NIMBLE_TEST_BATCH=1
- os: linux
env: NIMBLE_TEST_BATCH=2
- os: linux
env: NIMBLE_TEST_BATCH=3
- os: linux
env: NIMBLE_TEST_BATCH=4
- os: linux
env: NIMBLE_TEST_BATCH=5
warnings_are_errors: true
notifications:
email:
recipients:
on_success: always
on_failure: always
branches:
only:
- master
- devel
latex: false # Work around tlmgr issues.
addons:
apt:
packages:
- time # For /usr/bin/time profiling.
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; fi
- pip install --upgrade --force-reinstall --user travis pip setuptools wheel virtualenv
- ./install_requirements.R
# - pip freeze
- R CMD build packages/nimble
- R CMD INSTALL --install-tests packages/nimble
script:
# - pip freeze
- ./run_tests.R
after_success:
- Rscript -e 'library(covr); if(R.version$os == "linux-gnu") codecov()'