forked from chapmanb/bcbb
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
35 lines (30 loc) · 1.34 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
language: python
python:
- 2.7
install:
- sudo apt-get update
- sudo apt-get install -q -y python-software-properties
- sudo add-apt-repository -y ppa:scilifelab/scilifelab
- sudo add-apt-repository -y ppa:debian-med/ppa
- sudo apt-get update
- sudo apt-get purge python-paramiko
- sudo apt-get install -q -y git-core gcc libsam-java=1.74-1ubuntu1 picard-tools=1.74-1ubuntu1 bowtie bwa freebayes snpeff-2 fastqc-0.10.1 gatk r-base tophat openjdk-6-jre samtools unzip lftp cufflinks wigtools python-dev
#Download snpeff gnome database
- lftp -e 'pget -n 8 http://downloads.sourceforge.net/project/snpeff/databases/v2_0_5/snpEff_v2_0_5_GRCh37.63.zip; quit'
- sudo unzip snpEff_v2_0_5_GRCh37.63.zip -d /usr/share/snpEff/ && rm snpEff_v2_0_5_GRCh37.63.zip
#Temporal solution to travis issue #155
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
- pip install numpy
- pip install cython
- pip install --allow-external pysam==0.7
- pip install python-dateutil
- cd nextgen && python setup.py install
notifications:
email: false
before_script:
- cd tests
#Export some environment variables
- export PICARD_HOME=/usr/share/java/picard
- export SNPEFF_HOME=/usr/share/java/snpeff
- export GATK_HOME=/usr/share/java/gatk
script: nosetests -s -v --with-xunit -a standard