Use tar archive, since travis supports only one encrypted file
This commit is contained in:
parent
597f598237
commit
b6bd4c3c47
@ -2,16 +2,17 @@ sudo: false
|
||||
language: java
|
||||
jdk: oraclejdk8
|
||||
before_install:
|
||||
- openssl aes-256-cbc -K $encrypted_5630fbebf057_key -iv $encrypted_5630fbebf057_iv -in .travis/secrets.tar.enc -out .travis/secrets.tar -d
|
||||
- cd .travis && tar xfv secrets.tar
|
||||
- echo "MAVEN_OPTS='-Xms1g -Xmx1g'" > "$HOME/.mavenrc"
|
||||
- mkdir -p "$HOME/.m2"
|
||||
- cp .travis/travis-toolchains.xml "$HOME/.m2/toolchains.xml"
|
||||
- cp .travis/travis-settings.xml "$HOME/.m2/settings.xml"
|
||||
- mkdir -p "$HOME/.ssh"
|
||||
- chmod 700 "$HOME/.ssh"
|
||||
- openssl aes-256-cbc -K $encrypted_5630fbebf057_key -iv $encrypted_5630fbebf057_iv -in .travis/id_rsa.enc -out "$HOME/.ssh/id_rsa" -d
|
||||
- mv .travis/id_rsa "$HOME/.ssh/id_rsa"
|
||||
- chmod 600 "$HOME/.ssh/id_rsa"
|
||||
- mkdir -p "$HOME/.gpg"
|
||||
- openssl aes-256-cbc -K $encrypted_5630fbebf057_key -iv $encrypted_5630fbebf057_iv -in .travis/release-signing-key-82DE7BE82166E84E.gpg.enc -out .travis/release-signing-key-82DE7BE82166E84E.gpg -d
|
||||
- gpg2 --batch --import .travis/release-signing-key-82DE7BE82166E84E.gpg
|
||||
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
script:
|
||||
|
Binary file not shown.
Binary file not shown.
BIN
.travis/secrets.tar.enc
Normal file
BIN
.travis/secrets.tar.enc
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user