-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
.travis.yml
23 lines (23 loc) · 984 Bytes
/
.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
language: java
jdk:
- openjdk11
before_install:
- wget https://archive.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip
- unzip -qq apache-maven-3.6.2-bin.zip
- export M2_HOME=$PWD/apache-maven-3.6.2
- export PATH=$M2_HOME/bin:$PATH
install:
- sh -c 'mvn install -DskipTests=true'
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn install -DskipTests=true'
- sh -c 'cd jOOQ-examples/jOOQ-spring-boot-example && mvn install -DskipTests=true'
- sh -c 'cd jOOQ-examples/jOOQ-flyway-example && mvn install -DskipTests=true'
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn install -DskipTests=true'
script:
- sh -c 'mvn test'
- sh -c 'cd jOOQ-examples/jOOQ-spring-example && mvn test'
- sh -c 'cd jOOQ-examples/jOOQ-spring-boot-example && mvn test'
- sh -c 'cd jOOQ-examples/jOOQ-flyway-example && mvn test'
- sh -c 'cd jOOQ-examples/jOOQ-spring-guice-example && mvn test'
cache:
directories:
- $HOME/.m2/repository