-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
35 lines (30 loc) · 1.12 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
# Define language
os:
- linux
#- osx
# Define operating system's to test
after_success:
- coverage combine .coverage_*
- bash <(curl -s https://codecov.io/bash)
# Combines and sends coverage reports to codecov
# Define actions after successful build
python:
- "3.4"
- "3.5"
- "3.6" # current default Python on Travis CI
- "3.7"
- "3.8"
- "3.8-dev" # 3.8 development branch
- "nightly" # nightly build
# Specify versions of language to test
install:
- pip install coverage
# Installing coverage for coverage reports for codecov
# Install dependencies
# command to run tests
script:
- COVERAGE_FILE=.coverage_v coverage run referee.py --version
- COVERAGE_FILE=.coverage_pileup coverage run referee.py -gl tests/data/test.pileup --pileup -ref tests/data/test.fa -d tests/out-pileup/ -prefix pileup-test --fastq --fasta --bed --correct --raw -p 8
- COVERAGE_FILE=.coverage_angsd coverage run referee.py -gl tests/data/test.glf.gz -ref tests/data/test.fa -d tests/out-angsd/ -prefix angsd-test --fastq --fasta --bed --correct --raw -p 8
# Tests to run