-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (60 loc) · 5.33 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
dist: xenial
sudo: required
language: java
install:
- mvn install -Pproduction -DskipTests=true -Dmaven.javadoc.skip=true -B -V -U
cache:
directories:
- "$HOME/.m2"
branches:
only:
- develop
- master
jobs:
include:
- stage: test
jdk: openjdk8
script:
- mvn test -B -P coverage,production
after_success:
- mvn deploy --settings deploy-settings.xml -DskipTests=true -B -Pproduction
- bash <(curl -s https://codecov.io/bash)
- stage: test
jdk: openjdk11
script:
- mvn test -B sonar:sonar -P production
before_deploy:
- cd toop-demoui-dc
- mvn clean package -Pproduction
- cd ..
- openssl aes-256-cbc -K $encrypted_db2095f63ba3_key -iv $encrypted_db2095f63ba3_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
- echo -e "Host ${DEPLOY_HOST_ELONIA}\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- echo -e "Host ${DEPLOY_HOST_FREEDONIA}\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
deploy:
provider: script
skip_cleanup: true
script: bash travis-deploy.sh
on:
branch: master
env:
global:
- secure: UnqoyMD2UtllV68NBbXuK1Le9hX7prO8yKQBQdHUtDwtsgWH7v9WDBpJhrcZ5uqy3DlBS1dbqB5wdQa5adGG7NtnCKLrmMFsPa+IO+KzVHABO7pM2eszibXHtLBwWdIZNjucoypebvkdZf6wp/ZyiiSxDghLjscdLBYNWb83XUYLiKDB7po49X90WzQEzEpQPOKURCqE5lv0wKx+LHCy3vW8oN4fBtyQ8n0GZoTF3CzhvAJTwIDMqIDADi/7AZL61KGUzONd+YuTcB81Zz5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