forked from bbuchsbaum/rMVPA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (25 loc) · 789 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
31
32
33
34
35
36
37
38
39
40
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
sudo: false
cache: packages
r_github_packages: bbuchsbaum/neuroim2
warnings_are_errors: false
Imports: neuroim2
Remotes: bbuchsbaum/neuroim2
env:
global: RGL_USE_NULL=TRUE
r_check_args: "--as-cran --install-args=--build"
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libcgal-dev libglu1-mesa-dev mesa-common-dev; fi
- wget -O travis_helpers.sh http://bit.ly/travis_helpers
- source travis_helpers.sh
- rm travis_helpers.sh
- PACKAGE_NAME=`package_name`
- PACKAGE_DIRECTORY=`basename ${PWD}`
r_packages:
- covr
after_success:
- Rscript -e 'library(covr); codecov(type="all")'
env:
global:
- _R_CHECK_FORCE_SUGGESTS_=FALSE