-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
47 lines (42 loc) · 1.16 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
# Header
language: r
cache:
packages: true
directories:
- $HOME/usr/local
warnings_are_errors: true
stages:
- name: pre-cache1
- name: pre-cache2
- name: test
jobs:
include:
- stage: pre-cache1
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
- export PATH=$PATH:$HOME/usr/local/bin
- sh ./cmtk_build.sh
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
env:
global:
- secure: U5L4JHPa5/mpcDjL60XZVDXtT/nQe4lyhCG6pIj7dF8N6iLRO/vh0ChPxZsBhunKaNMnu59MEqn9nvp09kodV7DzW1nNV+UVi2ZtXpAFejHOK6T4d31vGShCnoM5BkTeMp7exX8yfKWw3Zw0JY47sHTLFihYbwUFqsus0aqT0hIK
- RGL_USE_NULL=TRUE
- _R_CHECK_DONTTEST_EXAMPLES_=FALSE