-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
74 lines (68 loc) · 1.91 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: python3
cache:
apt: true
pip: true
directories:
- $HOME/miniconda3_$TRAVIS_OS_NAME # Add the installation to TRAVIS cache.
#- $HOME/miniconda3_osx # Add the installation to TRAVIS cache.
#- $HOME/download # Sufficient to add miniconda.sh to TRAVIS cache.
- $HOME/.bash_profile # Paths and everything
#- $HOME/Library/Caches/Homebrew # osx local
#- /usr/local/Homebrew/Library/Caches/Homebrew # osx main
- /opt
matrix:
include:
- os: linux
dist: trusty
sudo: required
addons:
apt_packages:
- build-essential
- git
- curl
- libboost-dev
- gcc
- autoconf
- bzip2
- zlib1g
- libsparsehash-dev
- cmake
# commands to install dependencies
before_install:
- bash .travis/travis_before_install.sh
- export PATH="$HOME/miniconda3_$TRAVIS_OS_NAME/bin:$PATH"
# - sudo chmod 666 /dev/null # https://discuss.pivotal.io/hc/en-us/articles/203961428-Unix-server-treats-the-login-with-message-bash-dev-null-Permission-denied-
install:
- bash .travis/travis_install.sh
- pip --version
- pip install . --no-deps --upgrade --user
# command to run tests
script:
- echo $PATH
- python3 --version
- build_baited_bloom_filter
--input-fasta data/transcript.fa
--kmer 27
--bloom-size 500M
--levels 1
--threads 2
--output-bloom genome_k27_m500M_l1.bloom
data/genome.fa.gz
- build_splice_graph
--input-fasta data/transcript.fa
--input-bloom genome_k27_m500M_l1.bloom
--kmer 27
--max-fp-bases 5
--output-gfa test_exons_raw.gfa
- gfa1_to_fasta
--input-gfa test_exons_raw.gfa
--output-fasta exons.fa
--soft-mask-overlaps
- gfa1_to_fasta
--input-gfa test_exons_raw.gfa
--output-fasta gapped_transcripts.fa
--gapped-transcript
--number-of-ns 100
--hard-mask-overlaps
- cat exons.fa
after_failure: