forked from playframework/play-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (80 loc) · 5.32 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
language: scala
scala: 2.13.1
script: eval "$SCRIPT"
env:
global:
- TRAVIS_JDK=8
matrix:
- SCRIPT="cd play-java-chatroom-example && scripts/test-sbt"
- SCRIPT="cd play-java-compile-di-example && scripts/test-sbt"
- SCRIPT="cd play-java-dagger2-example && scripts/test-sbt"
- SCRIPT="cd play-java-ebean-example && scripts/test-sbt"
- SCRIPT="cd play-java-fileupload-example && scripts/test-sbt"
- SCRIPT="cd play-java-forms-example && scripts/test-sbt"
- SCRIPT="cd play-java-grpc-example && scripts/test-sbt"
- SCRIPT="cd play-java-hello-world-tutorial && scripts/test-sbt"
- SCRIPT="cd play-java-jpa-example && scripts/test-sbt"
- SCRIPT="cd play-java-rest-api-example && scripts/test-sbt"
- SCRIPT="cd play-java-starter-example && scripts/test-sbt"
- SCRIPT="cd play-java-streaming-example && scripts/test-sbt"
- SCRIPT="cd play-java-websocket-example && scripts/test-sbt"
- SCRIPT="cd play-scala-anorm-example && scripts/test-sbt"
- SCRIPT="cd play-scala-chatroom-example && scripts/test-sbt"
- SCRIPT="cd play-scala-compile-di-example && scripts/test-sbt"
- SCRIPT="cd play-scala-fileupload-example && scripts/test-sbt"
- SCRIPT="cd play-scala-forms-example && scripts/test-sbt"
- SCRIPT="cd play-scala-grpc-example && scripts/test-sbt"
- SCRIPT="cd play-scala-hello-world-tutorial && scripts/test-sbt"
- SCRIPT="cd play-scala-isolated-slick-example && scripts/test-sbt"
- SCRIPT="cd play-scala-log4j2-example && scripts/test-sbt"
- SCRIPT="cd play-scala-macwire-di-example && scripts/test-sbt"
- SCRIPT="cd play-scala-rest-api-example && scripts/test-sbt"
- SCRIPT="cd play-scala-secure-session-example && scripts/test-sbt"
- SCRIPT="cd play-scala-slick-example && scripts/test-sbt"
- SCRIPT="cd play-scala-starter-example && scripts/test-sbt"
- SCRIPT="cd play-scala-streaming-example && scripts/test-sbt"
- SCRIPT="cd play-scala-tls-example && scripts/test-sbt"
- SCRIPT="cd play-scala-websocket-example && scripts/test-sbt"
- SCRIPT="cd play-java-chatroom-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-compile-di-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-dagger2-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-ebean-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-fileupload-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-forms-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-grpc-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-hello-world-tutorial && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-jpa-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-rest-api-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-starter-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-streaming-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-java-websocket-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-anorm-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-chatroom-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-compile-di-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-fileupload-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-forms-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-grpc-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-hello-world-tutorial && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-isolated-slick-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-log4j2-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-macwire-di-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-rest-api-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-secure-session-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-slick-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-starter-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-streaming-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-tls-example && scripts/test-sbt" TRAVIS_JDK=11
- SCRIPT="cd play-scala-websocket-example && scripts/test-sbt" TRAVIS_JDK=11
before_install:
- sudo add-apt-repository -y ppa:ondrej/php && sudo apt-get -qq update && sudo apt-get install -y libsodium-dev # for secure session examples
- curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh
install: jabba install $(jabba ls-remote "adopt@~1.$TRAVIS_JDK.0-0" --latest=patch) && jabba use "$_" && java -Xmx32m -version
cache:
directories:
- "$HOME/.cache/coursier"
- "$HOME/.ivy2/cache"
- "$HOME/.jabba/jdk"
- "$HOME/.sbt"
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete