2019-03-06 16:42:14 +00:00
|
|
|
sudo: required
|
|
|
|
language: python
|
|
|
|
jdk: openjdk8
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
python:
|
|
|
|
- '3.6'
|
|
|
|
cache: pip
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
install:
|
|
|
|
# Install Nextflow
|
|
|
|
- mkdir /tmp/nextflow && cd /tmp/nextflow
|
|
|
|
- wget -qO- get.nextflow.io | bash
|
|
|
|
- sudo ln -s /tmp/nextflow/nextflow /usr/local/bin/nextflow
|
2019-03-06 19:11:20 +00:00
|
|
|
- mkdir -p ${TRAVIS_BUILD_DIR}/tests && cd ${TRAVIS_BUILD_DIR}/tests
|
2019-03-06 16:42:14 +00:00
|
|
|
|
|
|
|
env:
|
2019-07-31 21:44:54 +00:00
|
|
|
- NXF_VER='18.10.1' # Specify a minimum NF version that should be tested and work. Set SCRATCH for prince.config.
|
|
|
|
- NXF_VER='' # Plus: get the latest NF version and check, that it works. Set SCRATCH for prince.config.
|
2019-03-06 16:42:14 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
# Run the pipeline with the test profile and test remote config
|
2019-03-12 16:25:16 +00:00
|
|
|
- |
|
|
|
|
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 {}
|