This repository has been archived by the owner on Apr 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
49 lines (43 loc) · 1.88 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
language: scala
env:
matrix:
- SCRIPT="bin/runSbtJob consumer-service/consumer-service-java-sbt test"
- SCRIPT="bin/runSbtJob consumer-service/consumer-service-java-sbt test"
- SCRIPT="bin/runSbtJob cors/cors-java test"
- SCRIPT="bin/runSbtJob cors/cors-scala test"
- SCRIPT="bin/runSbtJob file-download/file-download-scala-sbt test"
- SCRIPT="bin/runSbtJob file-upload/file-upload-scala-sbt test"
- SCRIPT="bin/runSbtJob file-upload/file-upload-java-sbt test"
- SCRIPT="bin/runSbtJob http-header-handling/http-header-handling-java-sbt test"
- SCRIPT="bin/runSbtJob mixed-persistence/mixed-persistence-java-sbt test"
- SCRIPT="bin/runSbtJob mixed-persistence/mixed-persistence-scala-sbt test"
- SCRIPT="bin/runSbtJob auth-jwt/auth-jwt-java-sbt test"
- SCRIPT="bin/runSbtJob auth-jwt/auth-jwt-scala-sbt test"
- SCRIPT="mvn -f circuitbreakerpanel/circuitbreakerpanel-java-mvn test"
- SCRIPT="mvn -f i18n/hello-i18n-java-mvn test"
- SCRIPT="mvn -f kubernetes-deployment/hello-kubernetes-java-mvn test"
# can't run telemetry recipes on travis
#- SCRIPT="mvn -f lightbend-telemetry/lightbend-telemetry-java-mvn test"
#- SCRIPT="mvn -f lightbend-telemetry/log-correlation-java-mvn test"
before_install:
# See https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-239493916
- rm ~/.m2/settings.xml
- curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install [email protected] && jabba use $_ && java -version
script: $SCRIPT
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.jabba/jdk
- $HOME/.m2/repository
- $HOME/.sbt
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2aa0aeda88d31fe293d4
on_success: change
on_failure: always
on_start: never