mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
Remove requirement for dev branch PRs
This commit is contained in:
parent
1e2c0c3e04
commit
a79564f0af
1 changed files with 4 additions and 5 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue