forked from SciLifeLab/bcbio-nextgen-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (29 loc) · 1.54 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
before_install:
#Clean up some space (using aptitude instead of apt-get to remove software, as it is less strict when removing software -
#doesn't crash if doesn't find the package that wants to remove)
- sudo apt-get clean
- sudo apt-get install -q -y aptitude
- sudo aptitude purge -q -y ruby mysql-common mysql-client mysql-server emacs python2.5 python2.6 python3.1 python3.2 postgresql-common postgresql-client postgresql-server-dev-all sqlite3 mongodb-10gen redis-server elasticsearch erlang-base libcairo2 libcairo2-dev xserver-xorg-core x11-utils x11-common
- sudo apt-get autoremove
- sudo rm -rf /usr/share/doc
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 install -q -y git-core gcc picard-tools bowtie bwa freebayes snpeff-2 fastqc-0.10.1 gatk r-base tophat openjdk-6-jre samtools unzip lftp cufflinks wigtools
#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
- python deploy_non_root.py install
notifications:
email: false
before_script:
- source ~/.bashrc
- workon master
- cd ~/opt/bcbb/nextgen/tests
script: nosetests -s -v --with-xunit -a standard