forked from gaoyubang/nanopore-RNN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
82 lines (75 loc) · 2.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
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
75
76
77
78
79
80
81
language: python
python:
- 3.5
notifications: # set notification options
slack:
rooms:
- ucsc-cgl:Edwfgt7MJEVZV9Lib3igueTF
on_success: change
on_failure: always
email: false
# email:
# recipients:
# change is when the repo status goes from pass to fail or vice versa
# on_failure: always
branches:
except:
- rojin
before_install:
- sudo apt-get update -qq
- sudo apt-get install libhdf5-serial-dev
- sudo apt-get install zlib1g-dev
- pip install google-compute-engine
#- pip install tensorflow
- git clone https://github.com/lh3/bwa.git
- cd bwa
- make
- export PATH=$PATH:$PWD
- cd ..
# sudo apt-get install libbz2-dev
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- git submodule update --remote
- conda env create -f requirements35.yml
- source activate nanotensor3.5
- pip install google-compute-engine
- make
#- cd nanonet
#- python setup.py install
#- cd ../signalAlign
#- make
#- python setup.py install
#- pip install marginAlign
#- cd marginAlign
#- make test
- export PATH=$PATH:$PWD/signalAlign/bin
- export BOTO_CONFIG=/dev/null
- make test
#- pip install -U numpy
#- pip install -U h5py
- cd nanotensor
script:
- coverage run --source nanotensor -m pytest
# - coverage run --source nanotensor -a nanotensor/tests/data_preparation_test.py
# - bash <(curl -s https://codecov.io/bash) -cF python
# after_script: # here's a build step block
# - echo "We can put normal shell commands here"
# - echo "more shell commands here"
after_success:
- codecov -t 3806b863-7185-4be7-9787-a0c1d7963703