[ANY] Final gitlab ci

This commit is contained in:
Gravit 2020-03-17 05:15:46 +07:00
parent 747e5fec0c
commit dc97bbb743
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -41,6 +41,7 @@ build:
- cp modules/*_swmodule/build/libs/*.jar artifacts/modules
- cp modules/*_lmodule/build/libs/*.jar artifacts/modules
cache:
key: "$CI_COMMIT_REF_NAME"
paths:
- .gradle
- LaunchServer/build
@ -59,6 +60,8 @@ test:
script:
- gradle check
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- .gradle
- LaunchServer/build
@ -74,6 +77,8 @@ deploy-demo:
- gradle build
- eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh')
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- .gradle
- LaunchServer/build