-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (39 loc) · 1.2 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
language: go
go:
- "1.x"
dist: bionic
install:
- sudo apt update
- >-
sudo apt install build-essential uuid-dev libgpgme-dev squashfs-tools
libseccomp-dev wget pkg-config git cryptsetup-bin
- >-
bash -c '
export VERSION=3.5.2 &&
git clone -b v$VERSION https://github.com/sylabs/singularity.git &&
cd singularity &&
./mconfig &&
make -C ./builddir &&
sudo make -C ./builddir install
'
- singularity version
- sudo apt install python3 python3-pip python3-setuptools
- sudo pip3 install snakemake
script:
# Delete all data and recreate again with snakemake.
- >-
bash -c "cd $TEST_DATA &&
snakemake --delete-all-output &&
snakemake --use-singularity --singularity-args \'-C\' --show-failed-logs
--printshellcmds
"
# Check if things have changed. This should not be the case with reproducible data.
- git diff --exit-code
- bash -c 'cd $TEST_DATA && md5sum -c MD5SUMS'
matrix:
include:
- env: TEST_DATA=human_male_female
before_install:
# Necessary to write protect all files that need to be downloaded.
# Downloading files in CI can cause intermittent issues.
- bash -c 'chmod 444 human_male_female/GRCh38/*'