forked from craftercms/studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.11 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
version: "~> 1.0"
dist: jammy
language: java
git:
depth: 1
quiet: true
jdk:
- openjdk17
cache:
directories:
- "$HOME/.m2"
- "$HOME/downloads"
branches:
only:
- develop
- support/4.1.x
- master
notifications:
irc:
channels:
- chat.freenode.net#craftercms
use_notice: true
skip_join: true
slack: craftersoftware:7YiSb41ZG5rfMgiAY7Qgprc7
before_install:
- mkdir -p $HOME/.m2
- cp .travis-settings.xml $HOME/.m2/settings.xml
install: skip
script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then mvn -Dmaven.javadoc.skip=true clean deploy -DcloneUi=true --settings .travis-settings.xml; fi
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then mvn -Dmaven.javadoc.skip=true clean install -DcloneUi=true; fi
env:
global:
- secure: UrqsAwhqy/hg3bJh6zDDg51+a60bnvdFaNZx/9KsgGxrz174mMU0aJCAl1uUcY1tte8v5cylWvdSzPfBQhgH4p8zu2naFmIgtX+NUBLOqR5CX8w60+kNuSPBRj7TY+PRr1Vak8WztRxQE/T+VjAGH2ZdL0Ww9Soq2RFvMKgtvKk=
- secure: XHFhJ16qGXSgzokWsFa7DuTNcdHs3x7w2iSOSnChO1x8vIejHZPnGXitDe2773TsgRMDUEOuD4m4ejlklWg4Wv0C5AiGu9bGjk/XJEiUgNrb7eizwGcYJHnFVWgJ0MInJ5xJH45CQQENk0+ns08hEFqPQ8yhbYYxo3g5PHfuKLI=