generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.mvn_travis.yml
35 lines (30 loc) · 1.3 KB
/
.mvn_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
sudo: false
language: java
jdk:
- openjdk11
cache:
directories:
- $HOME/.m2
- $HOME/apache-maven-3.8.4
## export GPG details
before_install:
# - echo -e "machine github.com\n login $GITHUB_USER\n password $GITHUB_PASSWORD" > $HOME/.netrc
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust
- export M2_HOME=$HOME/apache-maven-3.8.4
- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.8.4/binaries/apache-maven-3.8.4-bin.tar.gz | tar zxf - -C $HOME; fi
- export PATH=$M2_HOME/bin:$PATH
install:
- mvn -U --file ikasan-studio-ancillary/pom.xml --settings .settings.xml clean install -Dmaven.javadoc.skip=true -Djava.security.egd=file:/dev/./urandom -Pall -B -V
deploy:
- provider: script
skip_cleanup: true
script: mvn --file ikasan-studio-ancillary/pom.xml deploy -DskipTests=true -Djava.security.egd=file:/dev/./urandom -Pall -B -V --settings .settings.xml
on:
branch: 1.0.x
# Push release to oss
- provider: script
skip_cleanup: true
script: mvn --file ikasan-studio-ancillary/pom.xml deploy -DskipTests=true -Djava.security.egd=file:/dev/./urandom -Pall,release-sign-artifacts -B -V -q --settings .settings.xml
on:
tags: true