-
Notifications
You must be signed in to change notification settings - Fork 96
/
.travis.yml
39 lines (31 loc) · 1011 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
sudo: required
os:
- linux
r:
- oldrel
- release
- devel
env:
global:
- PATH="$HOME/miniconda2/bin:$HOME/miniconda3/bin:$PATH"
- RETICULATE_PYTHON="$HOME/miniconda2/bin/python"
before_install:
- chmod +x travis_setup.sh; ./travis_setup.sh
- $HOME/miniconda2/bin/pip install -q phate
- $HOME/miniconda3/bin/pip install -q phate
- R -e "install.packages(c('reticulate', 'devtools', 'readr', 'phateR', 'Matrix', 'ggplot2', 'viridis'), quiet=TRUE)"
install:
- cd python; $HOME/miniconda2/bin/pip install -q .
- $HOME/miniconda3/bin/pip install -q .
- cd ../Rmagic; R CMD INSTALL .; cd ..
script:
- cd Rmagic; R CMD build .
- travis_wait 30 R CMD check *tar.gz
- cd ../python; $HOME/miniconda2/bin/pip install -q .[test,doc]
- $HOME/miniconda3/bin/pip install -q .[test,doc]
- python2 setup.py test
- python3 setup.py test
- cd doc; make html
warnings_are_errors: true