This repository has been archived by the owner on Jan 27, 2020. It is now read-only.
forked from nf-core/sarek
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #621 from MaxUlysse/Tests
Simplify tests
- Loading branch information
Showing
3 changed files
with
49 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
sudo: required | ||
|
||
language: java | ||
|
||
jdk: openjdk8 | ||
|
||
services: | ||
- docker | ||
services: docker | ||
|
||
addons: | ||
apt: | ||
update: true | ||
|
||
env: | ||
global: | ||
- NXF_VER=0.31.0 SGT_VER=2.4.2 | ||
- NXF_VER=0.31.0 SGT_VER=2.5.1 | ||
matrix: | ||
- PROFILE=singularity TEST=TOOLS TOOL_INSTALL=all | ||
- PROFILE=singularity TEST=MANTA TOOL_INSTALL=all | ||
- PROFILE=docker TEST=MANTA TOOL_INSTALL=nextflow | ||
- PROFILE=docker TEST=TOOLS TOOL_INSTALL=nextflow | ||
- PROFILE=docker TEST=ANNOTATEVEP TOOL_INSTALL=nextflow | ||
- PROFILE=singularity TEST=ANNOTATESNPEFF TOOL_INSTALL=all | ||
- PROFILE=singularity TEST=STEP TOOL_INSTALL=all | ||
- PROFILE=singularity TEST=GERMLINE TOOL_INSTALL=all | ||
- PROFILE=singularity TEST=DIR TOOL_INSTALL=all | ||
- PROFILE=docker TEST=ANNOTATESNPEFF TOOL_INSTALL=nextflow | ||
- PROFILE=docker TEST=STEP TOOL_INSTALL=nextflow | ||
- PROFILE=docker TEST=GERMLINE TOOL_INSTALL=nextflow | ||
- PROFILE=docker TEST=DIR TOOL_INSTALL=nextflow | ||
|
||
install: # Install Nextflow (and Singularity if needed) | ||
- "./scripts/install.sh --tool $TOOL_INSTALL" | ||
- "travis_retry ./scripts/containers.sh --profile $PROFILE --test $TEST" | ||
|
||
before_script: # Build references when needed | ||
- "./scripts/test.sh --profile $PROFILE --test $TEST --build" | ||
|
||
script: | ||
- "./scripts/test.sh --profile $PROFILE --test $TEST" | ||
- CE=singularity TEST=TOOLS | ||
- CE=singularity TEST=MANTA | ||
- CE=docker TEST=MANTA | ||
- CE=docker TEST=TOOLS | ||
- CE=docker TEST=ANNOTATEVEP | ||
- CE=singularity TEST=ANNOTATESNPEFF | ||
- CE=singularity TEST=STEP | ||
- CE=singularity TEST=GERMLINE | ||
- CE=singularity TEST=DIR | ||
- CE=docker TEST=ANNOTATESNPEFF | ||
- CE=docker TEST=STEP | ||
- CE=docker TEST=GERMLINE | ||
- CE=docker TEST=DIR | ||
|
||
install: | ||
# Install Nextflow (and Singularity if needed) | ||
- "./scripts/install.sh --engine $CE" | ||
# Donwload big containers for ANNOTATEVEP and ANNOTATESNPEF tests) | ||
- "travis_retry ./scripts/containers.sh --profile $CE --test $TEST" | ||
|
||
# Build references when needed | ||
before_script: "./scripts/test.sh --profile $CE --test $TEST --build" | ||
|
||
# Actual tests | ||
script: "./scripts/test.sh --profile $CE --test $TEST" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters