forked from selective-inference/compare-selection
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
53 lines (48 loc) · 1.38 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
49
50
51
git:
depth: 1
language: python
dist: trusty
python:
- 3.4
- 3.5
notifications:
email: false
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
env:
global:
# Maximal dependencies
- DEPENDS="cython numpy scipy matplotlib"
before_install:
- source travis-tools/utils.sh
- travis_before_install
- sudo apt-get install software-properties-common python-pandas
- sudo add-apt-repository -y ppa:marutter/c2d4u
- sudo add-apt-repository -y ppa:marutter/rrutter
- sudo apt-get update
- sudo apt-get install -y r-base r-base-dev r-cran-devtools r-cran-rcpp
install:
# Install selection
- pip install traitlets scikit-learn
- git submodule update --init
- cd selective-inference
- git log
- cd ..
- cd R-selective
- git submodule update --init
- sudo Rscript -e "install.packages(c('glmnet', 'intervals', 'adaptMCMC', 'gglasso', 'knockoff'), repos='http://cloud.r-project.org')"
- sudo make install
- cd ../regreg
- pip install -r requirements.txt
- pip install -e .
- cd ../selective-inference
- git submodule update --init
- pip install rpy2 mpmath pyinter
- pip install -e .
- cd ..
# command to run tests, e.g. python setup.py test
script:
- python compare.py --all_methods_noR --rho 0 0.3 --csvfile blah3.csv --nsample 500 --nfeature 100 --nsignal 10 --signal 4 3 --htmlfile blue.html --verbose --nsim 3