forked from Vibecap/Vibecap_Back
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (25 loc) · 866 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
24
25
language: java
jdk:
- openjdk11
branches:
only:
- main
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.gradle"
script: "./gradlew clean build -x test"
notifications:
email:
recipients:
on-success: always
on-failure: always
before_install:
- openssl aes-256-cbc -K $encrypted_abe066967087_key -iv $encrypted_abe066967087_iv
-in secret.tar.enc -out src/main/java/com/example/vibecap_back/global/config/security/secret.tar
-d
- openssl aes-256-cbc -K $encrypted_4769db5680b9_key -iv $encrypted_4769db5680b9_iv
-in prod-properties.tar.enc -out src/main/resources/prod-properties.tar -d
- tar xvf src/main/java/com/example/vibecap_back/global/config/security/secret.tar -C src/main/java/com/example/vibecap_back/global/config/security
- tar xvf src/main/resources/prod-properties.tar -C src/main/resources