-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
48 lines (41 loc) · 1.21 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
# Header
language: r
cache:
packages: true
warnings_are_errors: false
r_build_args: "--no-manual"
r_check_args: "--no-manual"
stages:
- name: pre-cache1
- name: pre-cache2
- name: test
jobs:
include:
- stage: pre-cache1
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
install:
- R -e 'install.packages(c("remotes", "rgl"))'
script: true
- stage: pre-cache2
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
- export PATH=$PATH:$HOME/usr/local/bin
install:
- R -e 'remotes::install_github("natverse/nat",dependencies = TRUE)'
script: true
- stage: test
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
- export PATH=$PATH:$HOME/usr/local/bin
addons:
apt:
packages:
- libglu1-mesa-dev
env:
global:
- secure: U5L4JHPa5/mpcDjL60XZVDXtT/nQe4lyhCG6pIj7dF8N6iLRO/vh0ChPxZsBhunKaNMnu59MEqn9nvp09kodV7DzW1nNV+UVi2ZtXpAFejHOK6T4d31vGShCnoM5BkTeMp7exX8yfKWw3Zw0JY47sHTLFihYbwUFqsus0aqT0hIK
- RGL_USE_NULL=TRUE
- CRAN: https://cran.rstudio.com
- _R_CHECK_FORCE_SUGGESTS_=FALSE