forked from craftercms/craftercms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 2.25 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
version: "~> 1.0"
git:
depth: 1
quiet: true
language: java
jdk:
- openjdk21
cache:
directories:
- "$HOME/.m2"
branches:
only:
- develop
- support/4.1.x
- support/4.0.x
- master
notifications:
slack: craftersoftware:7YiSb41ZG5rfMgiAY7Qgprc7
install: skip
script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
bash -c "mvn -DskipTests -f shared-dependencies/pom.xml deploy --settings .travis-settings.xml";
bash -c "mvn -DskipTests deploy --settings .travis-settings.xml";
bash -c "mvn -DskipTests -f spring-boot/pom.xml deploy --settings .travis-settings.xml";
fi
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
bash -c "mvn -DskipTests -f shared-dependencies/pom.xml deploy --settings .travis-settings.xml";
bash -c "mvn -DskipTests clean install"
bash -c "mvn -DskipTests -f spring-boot/pom.xml clean install";
fi
env:
global:
- secure: "28kN5UPaozXsqjrHXNHaOw5VU+oe26CqmGAidSPEFlHjz0b2K5MVGHV0xi5CIIxGpk1J+F65BXMQJ1GDu2i0MT/EJVbp/KPDc+hJRrMQgUdlSsPdwHfpyEbStOry14lvF95CsaNjciLB8yJbZRwih2bYCQPjqfhXa00WD5dY67PtLOsG4Cqiatfa/WwwqBQHMHtRnB2iE1jwqUtETvEcspgPeormsh9dZWlv1/YsBfGz/sOhOSPTGN4SXXyIWIaH0sCpve5So38a4JKMqSVs3ZovUX0OtuvYUe6JNAomgeMiCB0iRhSIg5I4m5573mXbVjXi4hg+V5bwKRJJbLS1n+yiDYTKF4eAr3ot5l7j7SsqbeP9DaBjnMBkm2fbmVThE2bTIAc6oUfk8L10DI4H5VCuXM/yZPp/wtLMDk3FHSCn30S3fOczk7PtcQriA2qylmMMO1u0WQyqEUz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