forked from nf-core/chipseq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (28 loc) · 838 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: required
language: java
jdk: openjdk8
services: docker
before_install: docker pull nfcore/chipseq:latest
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
# Install nf-core/tools
- git clone https://github.com/nf-core/tools.git /tmp/nf-core-tools
- cd /tmp/nf-core-tools
- pip install --user -e .
# Make test directories
- mkdir ${TRAVIS_BUILD_DIR}/tests
- cd ${TRAVIS_BUILD_DIR}/tests
env:
- NXF_VER=0.30.1
- ''
script:
# Lint the pipeline code
- "nf-core lint ${TRAVIS_BUILD_DIR}"
# Run, build reference genome
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker
# Basic run with supplied reference
- nextflow run ${TRAVIS_BUILD_DIR} -profile test,docker --genome EF4