Skip to content

Commit

Permalink
Merge branch 'master' into feature/download_retry
Browse files Browse the repository at this point in the history
  • Loading branch information
sivkovic committed Jun 6, 2019
2 parents 414ea43 + 331c1bc commit 5e7c1c7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
Expand Up @@ -37,7 +37,7 @@ class AwsOptions {
static final public int MAX_TRANSFER_ATTEMPTS = 1

static final public int DEFAULT_DELAY_BETWEEN_ATTEMPTS = 10

String cliPath

String storageClass
Expand All @@ -50,10 +50,6 @@ class AwsOptions {

int maxParallelTransfers = MAX_TRANSFER

int maxTransferAttempts = MAX_TRANSFER_ATTEMPTS

int delayBetweenAttempts = DEFAULT_DELAY_BETWEEN_ATTEMPTS

/**
* The job role ARN that should be used
*/
Expand Down
14 changes: 10 additions & 4 deletions tests/.travis.yml
@@ -1,9 +1,15 @@
sudo: required
language: java
jdk:
- oraclejdk8
before_install:
services:
- docker
env:
global:
- NXF_ANSI_LOG=false
install:
- sudo apt-get -qq update
- sudo apt-get -qq -y install graphviz
- sudo apt-get -qq -y install graphviz realpath
- sudo pip install awscli
git:
submodules: false
Expand All @@ -12,8 +18,8 @@ branches:
- master
before_script:
- rm $HOME/.gitconfig
- mkdir "$HOME/.nextflow" && echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm"
script:
- mkdir -p "$HOME/.nextflow" && echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm"
- curl -fsSL get.nextflow.io | bash
- docker pull nextflow/examples
script:
- export WITH_DOCKER='-with-docker'; export NXF_CMD=$PWD/nextflow; cd checks/ && bash run.sh
12 changes: 7 additions & 5 deletions tests/opt-file.nf
Expand Up @@ -16,17 +16,19 @@
*/

process foo {
output: file 'missing.txt' optional true into result
output:
file 'missing.txt' optional true into result

'''
echo miao
'''
}

process bar {
input: file x from result
input:
file x from result

'''
echo bau
'''
'''
echo bau
'''
}

0 comments on commit 5e7c1c7

Please sign in to comment.