forked from robstoll/atrium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (46 loc) · 1.79 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
dist: trusty
language: java
jdk:
- openjdk11
install: skip
jobs:
include:
- env: MODE=current_11
script:
- set -e
- ./gradle/scripts/check-generateLogic-committed.sh
- ./gradlew buildAllWithoutJs
- misc/tools/atrium-scala-test/gradlew -p ./misc/tools/atrium-scala-test build
after_success: bash <(curl -s https://codecov.io/bash) -F current
- env: MODE=current_8
jdk: oraclejdk8
script: ./gradlew buildNonDeprecatedJvm buildAllAndroid
- env: MODE=js
script: ./gradlew buildAllJs
- env: MODE=bc
script: ./gradlew bcTests
after_success: bash <(curl -s https://codecov.io/bash) -F bc
- env: MODE=bbc
script: ./gradlew bbcTests
after_success: bash <(curl -s https://codecov.io/bash) -F bbc
- env: MODE=samples
script:
- set -e
- samples/js/jasmine/gradlew -p ./samples/js/jasmine build
- samples/js/mocha/gradlew -p ./samples/js/mocha build
- samples/jvm/spek/gradlew -p ./samples/jvm/spek build
- samples/jvm/junit5/gradlew -p ./samples/jvm/junit5 build
# in case of travis problems installing jdk11
#- cd samples/maven && ./mvnw -B test -Djava.version=1.8 && cd ../..
- cd samples/maven && ./mvnw -B test && cd ../..
- samples/multiplatform/gradlew -p ./samples/multiplatform build
- misc/tools/atrium-samples-test/gradlew -p ./misc/tools/atrium-samples-test build
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/wrapper/
- $HOME/.gradle/caches/
- $HOME/.m2
- ./gradle/node_modules