forked from bodkan/admixr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 992 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
language: R
sudo: false
cache:
directories: /tmp/deps
packages: true
env:
- NOT_CRAN=true
before_install:
- sudo apt-get update
- sudo apt-get install libopenblas-dev libgsl-dev liblapack-dev
# enter directory for installing all dependencies
- pushd /tmp/deps
# install ADMIXTOOLS
- curl -LO https://github.com/DReichLab/AdmixTools/archive/v5.0.tar.gz
- tar xf v5.0.tar.gz
- cd AdmixTools-5.0
- cd src; make clobber; make LDLIBS="-llapack" all; make install; cd ../
- curl -LO https://www.dropbox.com/s/2m53dharng61ou9/AdmixTools_Example_Data.tar_.gz
- tar xf AdmixTools_Example_Data.tar_.gz
- export PATH=$PATH:$PWD/bin
- cd ../
# install bedtools
- curl -LO https://github.com/arq5x/bedtools2/releases/download/v2.27.1/bedtools-2.27.1.tar.gz
- tar -zxvf bedtools-2.27.1.tar.gz
- pushd bedtools2 && make && popd
- export PATH=$PATH:$PWD/bedtools2/bin/
# return to the top directory
- popd
after_success:
- Rscript -e 'covr::codecov()'