-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 996 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
41
42
43
44
45
46
47
48
# Header
language: r
r:
#- oldrel
- release
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
install:
- R -e 'install.packages("remotes");remotes::install_github("natverse/natmanager",dependencies = TRUE)'
script: true
- stage: pre-cache2
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
- export PATH=$PATH:$HOME/usr/local/bin
install:
- R -e 'natmanager::install("core")'
script: true
- stage: test
before_install:
- echo 'options(Ncpus = 2)' >> ~/.Rprofile
- export PATH=$PATH:$HOME/usr/local/bin
addons:
apt:
packages:
- libglu1-mesa-dev
- libgit2-dev
#env
env:
global:
- RGL_USE_NULL=TRUE