forked from akka/akka-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 2.29 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
sudo: false
language: scala
scala:
- "2.11.11"
- "2.12.4"
jdk:
- oraclejdk8
before_cache:
- find $HOME/.ivy2 -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot
before_install:
- wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
- unzip -qq apache-maven-3.3.9-bin.zip
- export M2_HOME=$PWD/apache-maven-3.3.9
- export PATH=$M2_HOME/bin:$PATH
env:
matrix:
- CMD="cd akka-sample-camel-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-camel-scala && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-cluster-java && sbt ++\$TRAVIS_SCALA_VERSION multi-jvm:test"
- CMD="cd akka-sample-cluster-scala && sbt ++\$TRAVIS_SCALA_VERSION multi-jvm:test"
- CMD="cd akka-sample-distributed-data-java && sbt ++\$TRAVIS_SCALA_VERSION multi-jvm:test"
- CMD="cd akka-sample-distributed-data-scala && sbt ++\$TRAVIS_SCALA_VERSION multi-jvm:test"
- CMD="cd akka-sample-fsm-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-fsm-java && mvn test -P \$TRAVIS_SCALA_VERSION"
- CMD="cd akka-sample-fsm-scala && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-main-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-main-java && mvn test -P \$TRAVIS_SCALA_VERSION"
- CMD="cd akka-sample-main-scala && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-multi-node-scala && sbt ++\$TRAVIS_SCALA_VERSION multi-jvm:test"
- CMD="cd akka-sample-osgi-dining-hakkers && mvn compile -P \$TRAVIS_SCALA_VERSION"
- CMD="cd akka-sample-persistence-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-persistence-java && mvn test -P \$TRAVIS_SCALA_VERSION"
- CMD="cd akka-sample-persistence-scala && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-remote-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-remote-scala && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-supervision-java && sbt ++\$TRAVIS_SCALA_VERSION test"
- CMD="cd akka-sample-supervision-java && mvn test -P \$TRAVIS_SCALA_VERSION"
- CMD="cd akka-sample-vavr && mvn test -P \$TRAVIS_SCALA_VERSION"
script:
- eval "$CMD"