From 8cad814fcd461d3fd57e2d9f702ba78bf91b02cc Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Fri, 9 Mar 2018 17:40:11 +0100 Subject: [PATCH] Made travis tests run with minimum supported version of nextflow --- .travis.yml | 5 +++++ nextflow.config | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 650b75e..9dda453 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,11 @@ install: - cd ${TRAVIS_BUILD_DIR} env: + # Test with minimum supported version of Nextflow + - NXF_VER=0.25.1 CLFLAGS="" # Basic run + - NXF_VER=0.25.1 CLFLAGS="-r" # Run, RRBS mode + - NXF_VER=0.25.1 CLFLAGS="-n" # Run, no-trimming mode + # Test with the latest version of nextflow - CLFLAGS="" # Basic run - CLFLAGS="-r" # Run, RRBS mode - CLFLAGS="-n" # Run, no-trimming mode diff --git a/nextflow.config b/nextflow.config index 35c24ec..f90ec78 100644 --- a/nextflow.config +++ b/nextflow.config @@ -11,13 +11,15 @@ vim: syntax=groovy */ // Pipeline version -params.version = "0.4dev" +version = "0.4dev" // Minimum version of nextflow required -params.nf_required_version = '0.25.1' +nf_required_version = '0.25.1' // Configurable variables params { + version = version + nf_required_version = nf_required_version name = false project = false clusterOptions = false