From a79564f0afc4e2d33351f6f2be48d7b2315bfd14 Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Tue, 12 Mar 2019 17:02:24 +0100 Subject: [PATCH] Remove requirement for dev branch PRs --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b200b4a..276304c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,10 +9,6 @@ cache: pip matrix: fast_finish: true -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" ])' - install: # Install Nextflow - mkdir /tmp/nextflow && cd /tmp/nextflow @@ -26,4 +22,7 @@ env: script: # Run the pipeline with the test profile and test remote config - - grep "{.*includeConfig.*[a-z]*\.config\"" ${TRAVIS_BUILD_DIR}/nfcore_custom.config | tr -s ' ' | cut -d " " -f 2 | xargs -I {} nextflow run ${TRAVIS_BUILD_DIR}/configtest.nf -profile {} + - grep "{.*includeConfig.*[a-z]*\.config\"" ${TRAVIS_BUILD_DIR}/nfcore_custom.config | \ + tr -s ' ' | \ + cut -d " " -f 2 | \ + xargs -I {} nextflow run ${TRAVIS_BUILD_DIR}/configtest.nf -profile {}