1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00

Merge pull request #31 from ewels/master

Remove Travis requirement for PRs to be against dev branch
This commit is contained in:
Alexander Peltzer 2019-03-12 18:42:55 +01:00 committed by GitHub
commit ee249ca7af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -9,10 +9,6 @@ cache: pip
matrix: matrix:
fast_finish: true 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:
# Install Nextflow # Install Nextflow
- mkdir /tmp/nextflow && cd /tmp/nextflow - mkdir /tmp/nextflow && cd /tmp/nextflow
@ -26,4 +22,8 @@ env:
script: script:
# Run the pipeline with the test profile and test remote config # 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 {}

View file

@ -48,7 +48,6 @@ Alternatively, instead of using the configuration profiles from this repository,
pipeline directly calling the single institutional config file that you need with the `-c` parameter. pipeline directly calling the single institutional config file that you need with the `-c` parameter.
```bash ```bash
## Example command for nf-core/rnaseq
nextflow run /path/to/pipeline/ -c /path/to/my/configs/configs-master/conf/my_config.config nextflow run /path/to/pipeline/ -c /path/to/my/configs/configs-master/conf/my_config.config
``` ```

View file

@ -5,7 +5,6 @@ params {
config_profile_contact = 'Alexander Peltzer (@apeltzer)' config_profile_contact = 'Alexander Peltzer (@apeltzer)'
config_profile_url = 'https://www.bwhpc-c5.de/wiki/index.php/Category:BwForCluster_BinAC' config_profile_url = 'https://www.bwhpc-c5.de/wiki/index.php/Category:BwForCluster_BinAC'
} }
singularity { singularity {
enabled = true enabled = true
} }
@ -17,7 +16,8 @@ process {
} }
params { params {
igenomesIgnore = true igenomesIgnore = false
igenomes_base = '/beegfs/work/igenomes'
max_memory = 128.GB max_memory = 128.GB
max_cpus = 28 max_cpus = 28
max_time = 48.h max_time = 48.h