-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
58 lines (47 loc) · 1.46 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
language: scala
sudo: false
#scala:
# - "2.12.10"
# - "2.13.1"
before_install: curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install "adopt@~1.$TRAVIS_JDK.0-0" && jabba use "$_" && java -Xmx32m -version
addons:
apt:
packages:
- graphviz
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
- $HOME/.jabba/jdk
#git:
# depth: 1 # Avoid sbt-dynver not seeing the tag
branches:
only:
- master
- develop
env:
global:
- TRAVIS_JDK=11
stages:
- test
if: (branch = master) AND (NOT (type IN (push, pull_request)))
- name: test-scala212
if: (branch = develop)
# - paradox
jobs:
include:
- stage: test
script: sbt test:compile "discoveryx-functest/multi-jvm:testOnly fusion.discoveryx.functest.DiscoveryXMultiTest"
name: "Master discoveryx-functest/multi-jvm:testOnly fusion.discoveryx.functest.DiscoveryXMultiTest"
- stage: test-scala212
script: sbt ";++ 2.12.10 ;test:compile ;discoveryx-functest/multi-jvm:testOnly fusion.discoveryx.functest.DiscoveryXMultiTest"
env: TRAVIS_JDK=8
name: "Develop discoveryx-functest/multi-jvm:testOnly fusion.discoveryx.functest.DiscoveryXMultiTest for Java 8"
# - stage: paradox
# script: scripts/travis-paradox.sh
# name: "Generate paradox"