forked from nf-core/sarek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 893 Bytes
/
.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
sudo: required
language: java
jdk: openjdk8
services: docker
addons:
apt:
update: true
env:
global:
- NXF_VER=0.32.0
matrix:
- TEST=SOMATIC
- TEST=GERMLINE
- TEST=TARGETED
- TEST=ANNOTATEVEP
- TEST=ANNOTATESNPEFF
before_install:
# PRs to master are only ok if coming from dev branch
- '[ $TRAVIS_PULL_REQUEST = "false" ] || [ $TRAVIS_BRANCH != "master" ] || ([ $TRAVIS_PULL_REQUEST_SLUG = $TRAVIS_REPO_SLUG ] && [ $TRAVIS_PULL_REQUEST_BRANCH = "dev" ])'
# Donwload containers
- "travis_retry ./scripts/containers.sh --profile docker --test $TEST"
install:
# Install Nextflow
- curl -fsSL get.nextflow.io | bash
- chmod +x nextflow
- sudo mv nextflow /usr/local/bin/
# Build references if needed
before_script: "./scripts/test.sh --profile docker --test $TEST --build"
# Actual tests
script: "./scripts/test.sh --profile docker --test $TEST"