forked from ANGSD/angsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (33 loc) · 779 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
40
41
42
sudo: false
os: linux
dist: trusty
language: c
compiler:
- clang
- gcc
env:
global:
- MAKEFLAGS="-j2"
matrix:
include:
# An unoptimised C99 build, for detecting non-static inline functions
- compiler: gcc
env:
- CFLAGS="-std=gnu99 -O0"
- CXXFLAGS="-O0"
addons:
apt:
packages:
- liblzma-dev
- libbz2-dev
before_script:
- git clone --branch=develop --recursive git://github.com/samtools/htslib.git
- cd htslib; make;cd ..
- git clone --depth=5 --branch=develop git://github.com/samtools/samtools.git
- cd samtools;make;cd ..
- git clone --depth=5 git://github.com/ANGSD/smallBam.git
- export HTSSRC=`pwd`/htslib
- export BAMDIR=`pwd`/smallBam/
script:
- make
- make test BAMDIR=`pwd`/smallBam/