forked from junit-team/junit5-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (55 loc) · 2.3 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
language: java
jdk: oraclejdk8
before_install:
- unset _JAVA_OPTIONS
jobs:
include:
# starter
- stage: starter
name: "Jupiter Starter Sample: Ant"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-ant && ./build.sh
- stage: starter
name: "Jupiter Starter Sample: Gradle & Java"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-gradle && ./gradlew test --console plain
- stage: starter
name: "Jupiter Starter Sample: Gradle & Kotlin"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-gradle-kotlin && ./gradlew test --console plain
- stage: starter
name: "Jupiter Starter Sample: Gradle & Groovy"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-gradle-groovy && ./gradlew test --console plain
- stage: starter
name: "Jupiter Starter Sample: Maven"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-maven && ./mvnw test
- stage: starter
name: "Jupiter Extension Samples"
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-extensions && ./gradlew test --console plain
# migration
- stage: migration
name: "Migration Samples: Gradle"
script: cd $TRAVIS_BUILD_DIR/junit5-migration-gradle && ./gradlew build --console plain --scan
- stage: migration
name: "Migration Samples: Maven"
script: cd $TRAVIS_BUILD_DIR/junit5-migration-maven && ./mvnw test
# platform
- stage: platform
name: "JUnit Platform running multiple TestEngine implementations"
jdk: openjdk11
script: cd $TRAVIS_BUILD_DIR/junit5-multiple-engines && ./gradlew test --console plain
- stage: platform
name: "Living in the Modular World..."
jdk: openjdk11
script: cd $TRAVIS_BUILD_DIR/junit5-modular-world && ./build.jsh
# snapshot -- use current junit master branch
- stage: snapshot
name: "JUnit 5 SNAPSHOT build: Gradle"
jdk: openjdk11
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-gradle && ./gradlew test --console plain --build-file build-SNAPSHOT.gradle
- stage: snapshot
name: "JUnit 5 SNAPSHOT build: Maven"
jdk: openjdk11
script: cd $TRAVIS_BUILD_DIR/junit5-jupiter-starter-maven && ./mvnw test --file pom-SNAPSHOT.xml
# all samples, one-shot
# - stage: all
# name: "Build all samples"
# jdk: openjdk-ea
# script: ./build-all-samples.jsh