-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (43 loc) · 7.11 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
sudo: required
language: python
python:
- "3.6"
services:
- docker
jobs:
include:
- stage: unit test
env:
- secure: "azA1ySXPuGfcMcNaofQlHSgKSmA6lBPyTTHlwsA6RGv4L2s2juHM7NeyoskU2oaejtiCP/Pv8OTuM2DMZ5n/tcpdh2Uo77Zu/LbCm5DVklYez9U1N32nv9xm+E8UJlVZ3Gv5Q8CbxoPDr3SQGZaPkdxdbk8BVsYrjlVgdTFaT61/AK2LQXyfhPXtgnctm8QlPXkpBQiW2XQAl2w9XallyWN3+lt1QWGkB5veZLjZAJRC/dWhR1Z/mxyEKA289bXAkCy7VX+3/1p5ZCxcjNvscszmxX9MszfxVec0HyQXLJt9F6ImwLJ61NM4zQEoNGoPQeRbc0zR8NfZcBUlkcMCnSiQBE5yccNnZDusFlPes2PbwSs5Vav/HaPe2L9PT8nZzyzKPiulMK4FAXh27hY91b+/6AFPtPdETt4Vi8KUIU6jPE+1kti1UdyheVJfb594eMj0THqtF31wcJckJUMe75SVAb1ZorS1TMR9l9A71fRa9d6DkOL/29mHqAfWi9tusGb5cj7xFl6b3L1Jk1hrTofgahO75lOVdeQhkuWVbWixoIeEdqOOKfYWCAkGAIuDfeAAZnvm6bU7+8SR2AxDJRdVQyoiMHXROeXs3CeslsWNExgraErzReAQmxDdAndI9e2tn08HRav7lg5GD2RiddJ8pu2XvbkDEwd1l+25tF0="
- secure: "GrDgKW3os/YV/GNHie4xwalUI2ZaqS+H/JQDfPrjEqTS++EbFBUQBkM/9JKPnZg4AdugV5DmtW+CEIH76fdZqLzBXvkpWdBvXKGanTwkuIxxcKqabjZuFiO3xMwi5pLsE4yrNEALqRGCAeTb06A5nDtq2X5QmIxK94OtxvkEZkTo9avOqAdWnJ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sGTz2LD63gDbFlFF8HHbLh3birrxgo4Z9w14exa4Z6uTqMo38EAxRiYdykxKm56I2L7cJB5nt2Cx9ocel9Uap7RotO5NiloCRFN8ynji5LSl/iXd9dlZw="
install: bash build/install_dependencies.sh
script:
- bash build/unit_test_server.sh
- bash build/analyze_code_coverage.sh
- stage: deploy to Development
if: branch = development OR type = pull_request
env:
- DEPLOY_ENV=dev
- secure: "azA1ySXPuGfcMcNaofQlHSgKSmA6lBPyTTHlwsA6RGv4L2s2juHM7NeyoskU2oaejtiCP/Pv8OTuM2DMZ5n/tcpdh2Uo77Zu/LbCm5DVklYez9U1N32nv9xm+E8UJlVZ3Gv5Q8CbxoPDr3SQGZaPkdxdbk8BVsYrjlVgdTFaT61/AK2LQXyfhPXtgnctm8QlPXkpBQiW2XQAl2w9XallyWN3+lt1QWGkB5veZLjZAJRC/dWhR1Z/mxyEKA289bXAkCy7VX+3/1p5ZCxcjNvscszmxX9MszfxVec0HyQXLJt9F6ImwLJ61NM4zQEoNGoPQeRbc0zR8NfZcBUlkcMCnSiQBE5yccNnZDusFlPes2PbwSs5Vav/HaPe2L9PT8nZzyzKPiulMK4FAXh27hY91b+/6AFPtPdETt4Vi8KUIU6jPE+1kti1UdyheVJfb594eMj0THqtF31wcJckJUMe75SVAb1ZorS1TMR9l9A71fRa9d6DkOL/29mHqAfWi9tusGb5cj7xFl6b3L1Jk1hrTofgahO75lOVdeQhkuWVbWixoIeEdqOOKfYWCAkGAIuDfeAAZnvm6bU7+8SR2AxDJRdVQyoiMHXROeXs3CeslsWNExgraErzReAQmxDdAndI9e2tn08HRav7lg5GD2RiddJ8pu2XvbkDEwd1l+25tF0="
- secure: "GrDgKW3os/YV/GNHie4xwalUI2ZaqS+H/JQDfPrjEqTS++EbFBUQBkM/9JKPnZg4AdugV5DmtW+CEIH76fdZqLzBXvkpWdBvXKGanTwkuIxxcKqabjZuFiO3xMwi5pLsE4yrNEALqRGCAeTb06A5nDtq2X5QmIxK94OtxvkEZkTo9av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ziklqnqLPsGTz2LD63gDbFlFF8HHbLh3birrxgo4Z9w14exa4Z6uTqMo38EAxRiYdykxKm56I2L7cJB5nt2Cx9ocel9Uap7RotO5NiloCRFN8ynji5LSl/iXd9dlZw="
install: bash build/install_dependencies.sh
script:
- bash build/deploy.sh
- bash build/integration_test.sh
- stage: deploy to Production
if: branch = master AND type != pull_request
env:
- DEPLOY_ENV=prod
- secure: "Fjuwf9GTw6pAV8VewVjExdyahdnfTqVkhCpt2wHycuJU5wOCyq1B35xk1SBcr5MViuuf+eCte3rjCObT+z4um3akJ8bZNNJ7JPO4nxcnpgsm5JLyMD6wSXCejgjhs/swkeW4qwj07zFUH539mPhUmW3GxT/Y0nr2eaoLwv0U15CWbuqwPWhML7YPEZv+h2CqjHjNTMXCrCv6wB47lbgcf49DkIXontgKV+gEggAmrrQ4T7QG6XLStUpUC/Zn13jonANG3MGXrXxlA45VCeo6fhWtgR4Ots5bK6UsiswzyOdJ0ZWcCjY7kzO9QJFZrgQJ31/GM8hXtGYfCEWUlcdRc+nQ0yb+5FWX0x/0Vk0DNzjtCl1qPzOGtqT32/Ru1zSFeRUWAJBgFxs9c7m0IGDTrdKAfueC+JTNAOxUvv28FL2ZVFGti9jln2vtd0R05g6OpobvfWUo/YKOK5KcrQ84Q+ikk9HhGDzMp/ZcItjUoOJgEJZVSuKtH9ArRavnDop04HdcBXggBiQW/jouJ5vqj5HOWhzpq5YB5Qt/SoRVe2zPkU8JgvBGAqfGgjt2sLOrIHV2gonZpyEhamwFVN7HyrhDxEhOe83+5b68b+uQtJG9wQBQeQUrcRX/ZQCVTuvVvNUPbXdUJw2lEm13Hl83WhBOvvRHmx+RFwBE+gqCYwc="
- secure: "NW3QfM4ZNHVL74tgnfZ+c74uPB+TcfOZLbRi0amyQk61nF0rvJ5wVgpFctlL+XdHpjJtqQMhxBqr/vQOkZAkkrGVe07bI7MOhYKN7mFKJjFug/Ll622qAx5CJxZUjIk9iJk/fGEndRMdri7v6+ttg1Y+8IJagg1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XZz27dRITJIbYURztbl0cpju2eOUczdGlu/6HBzu2uTi3R0NQRgvvktq0o9Y4nJhZZ3lG4Zm8XRp85eCHdwSDh9oekGz92aYt1988WR9KEpKGHP1RFCQAI8yQ/NnCZezh4="
install: bash build/install_dependencies.sh
script: bash build/deploy.sh
stages:
- name: unit test
- name: deploy to Development
if: branch = development OR type = pull_request
- name: deploy to Production
if: branch = master AND type != pull_request