-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
122 lines (113 loc) · 6.5 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
matrix:
include:
- language: python
python: 3.7
before-install:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd dataModelling
install:
- pip3 install -r requirements.txt
script:
- echo "test dataModelling"
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/data_modelling:$TRAVIS_COMMIT .
- docker push orenda15/data_modelling:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployModel.sh $TRAVIS_COMMIT"
- language: python
python: 3.7
before-install:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd dataRetrieval
install:
- pip3 install -r requirements.txt
script:
- echo "test dataRetrieval"
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/data_retrieval:$TRAVIS_COMMIT .
- docker push orenda15/data_retrieval:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployRetrieve.sh $TRAVIS_COMMIT"
- language: node_js
node_js: 10.16
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd userManagement
install:
- npm install
script:
- npm test
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/user_management:$TRAVIS_COMMIT .
- docker push orenda15/user_management:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployUser.sh $TRAVIS_COMMIT"
- language: node_js
node_js: 10.16
before-install:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd sessionManagement
install:
- npm install
script:
- npm test
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/session_management:$TRAVIS_COMMIT .
- docker push orenda15/session_management:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deploySession.sh $TRAVIS_COMMIT"
- language: node_js
node_js: 10.16
before-install:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd APIgateway
install:
- npm install
script:
- echo "test api_gateway"
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/api_gateway:$TRAVIS_COMMIT .
- docker push orenda15/api_gateway:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployApi.sh $TRAVIS_COMMIT"
- language: node_js
node_js: 10.16
before-install:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd frontend
install:
- npm install
script:
- echo "test frontend"
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/frontend:$TRAVIS_COMMIT .
- docker push orenda15/frontend:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployFrontend.sh $TRAVIS_COMMIT"
- language: java
jdk: openjdk8
java: 8
before-script:
- openssl aes-256-cbc -K $encrypted_dfdcfd5172af_key -iv $encrypted_dfdcfd5172af_iv
-in deploy_key.enc -out ./deploy_key -d
- cd data_analysis
script:
- mvn -Dmaven.test.skip test-compile jar:test-jar install
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/data_analysis:$TRAVIS_COMMIT .
- docker push orenda15/data_analysis:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployAnalysis.sh $TRAVIS_COMMIT"
branches:
only:
- develop
env:
global:
- secure: PjQw1TFLJqMQjjSill+zCcAe9Hsd0s/+xeCcsHfrcFiNHm3SfmPIEsS8g7s/XrS/zquXA8NFKUoDhLO7SRQjnSVVFFmPHFcOzQdSs9IgovS2ykuB0gtp/4EXFPA+xLAW2vq0s6ESjTj6Bbx5xQHiHKrHkQqZZhoS9C/ZgNk9yiAtQUDOLjb70+jysa50bUwPFhyqjs0iyWKuZ77Y0hkdo6Xde0m8otEpiD09rHWFzR9J1DISQfGtWpFYcaQzQPP2YtJ/jKsT0chJDNJEcSu2tz9TlJQb5yAnlnaDEHF53rQ4/Y9hrjDdVJFB5mNrNoHyVwDkDMY82Cl4BkKpZOhxCtd/zX63kDloLy1Ymm92Z03j9tAd7S+UunfzVCY98S5+8zy/80bNGr5sxyUZCXjFRU2KrSiBPt5pq7AXoz2Xdf8S1mB85315oTwG3k2vzDc20e2JjcHNtodggfJMUh5WLljuj0QBSdX9K/MUIfmkNxmtwvOicIRDVQ0MtNHLuttC7bbh/RSFbhaj+2DoHKLPXYeZi4GpmLrpO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