-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
55 lines (49 loc) · 1.84 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
os: linux
language: generic
python: 3.7.1
#go: "1.5.4"
dist: xenial
services:
- docker
stages:
- name: docker-build
if: branch = master
- name: test
addons:
apt:
packages:
- flawfinder
- squashfs-tools
- uuid-dev
- libuuid1
- libffi-dev
- libssl-dev
- libssl1.0.0
- libarchive-dev
- libgpgme11-dev
- libseccomp-dev
- liblzo2-dev
- python3-dev
update: true
jobs:
include:
- stage: docker-build
script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then docker build -t quay.io/ucsc_cgl/cat:latest .; fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then docker login --username $QUAY_USERNAME --password $QUAY_PASSWORD quay.io; docker push quay.io/ucsc_cgl/cat:latest; fi
- stage: test
script:
- set -ex
- pyenv shell 3.7.1
- pip install --upgrade pip
- pip install cython wheel setuptools pycparser
- pip install .
# Have to screw with toil's settings to get the jobs to
# actually run properly on such a small VM.
- sed -i "s/maxDisk = self.physicalDisk/pass/g" /opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/toil/batchSystems/singleMachine.py
- sed -i "s/maxCores = self.numCores/maxCores = 8/g" /opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/toil/batchSystems/singleMachine.py
- sed -i "s/maxMemory = self.physicalMemory/pass/g" /opt/pyenv/versions/3.7.1/lib/python3.7/site-packages/toil/batchSystems/singleMachine.py
- >
luigi --module cat RunCat --hal=test_data/vertebrates.hal --target-genomes='("hg38", "galGal4")' --ref-genome=mm10
--workers=2 --config=test_data/test.config --work-dir test_install --out-dir test_install --local-scheduler
--augustus --augustus-cgp --augustus-pb --assembly-hub --log-level DEBUG