forked from nextflow-io/nextflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 972 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
33
34
35
36
37
sudo: required
language: groovy
jdk:
- openjdk8
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get -qq -y install graphviz
- sudo pip install awscli
install:
- sudo apt-get install -y realpath
git:
submodules: true
env:
matrix:
- TEST_JDK=
- TEST_JDK=9
- TEST_JDK=10
global:
- GRADLE_OPTS='-Dorg.gradle.daemon=false'
before_script:
- rm $HOME/.gitconfig
- mkdir -p "$HOME/.nextflow" && echo "providers.github.auth='$NXF_GITHUB_ACCESS_TOKEN'" > "$HOME/.nextflow/scm"
- make assemble
script:
- |
set -e;
make test install;
[[ $TEST_JDK ]] \
&& curl -o install-jdk.sh https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh \
&& chmod +x install-jdk.sh \
&& source ./install-jdk.sh --cacerts --feature $TEST_JDK;
export WITH_DOCKER='-with-docker';
./integration-tests.sh
after_script:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash pub-tests.sh travis; fi