-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (22 loc) · 780 Bytes
/
.travis.yml
File metadata and controls
29 lines (22 loc) · 780 Bytes
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
language: r
os:
- linux
- osx
matrix:
allow_failures:
- os: osx
apt_packages:
- jags
repos:
CRAN: https://cloud.r-project.org
r_github_packages:
- jimhester/covr
- scientific-computing-solutions/eventPrediction
before_install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then sudo tlmgr install preprint url; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew update; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew outdated pkg-config || brew upgrade pkg-config; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install gcc || brew link --overwrite gcc; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install jags; fi
after_success:
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then echo 'covr::coveralls(quiet=FALSE)' | R --vanilla; fi