-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 3.54 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
sudo: required
language: python
python:
- '2.7'
services:
- docker
addons:
ssh_known_hosts: 139.59.42.140
before_script:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- docker-compose up --build -d
script:
- python testfile.py
- docker tag $DOCKER_HUB_USERNAME/autocidemo:production $DOCKER_HUB_USERNAME/autocidemo:production
- docker push $DOCKER_HUB_USERNAME/autocidemo:production
after_script:
- docker-compose down
notifications:
email:
env:
global:
- secure: bforY0n52aVxbG2V1OZjE0ymLxvcHygjACQeUvp/fOdmujFzCqj8zQ0T+6quLzA/t3Xu1QJPTqhXZ8a6l8LVe1yCOVjmaZP6l4gi3nGXe2x56r03k39p6z78TRWk4V0pPetAPJ2F+uqixzTFwc/oyNUsoavJb2wDOLIU0SRd6Mmo6To91o0Z81DIUrOxq5TxYCXkpckyp11h4r5naZtYbgNrReSciI0PvkYYMJLEoiltIw2sL2vSgo++tIPUCtSx6Op1jpbBi2WA1dkc8f0dRdYz6PH3wU2tdg/EYddur+duuoy9S2R5Z4T8HW+kH/hrtjQCk9ddfUOd45qre6KZVJUQQqAus5K+Z8iOnU89Dq0O3omVlHRjGXu+7JdxalZNbx3MVa5IxjAK0Twjo+9wMwiTikTHnjYakJWjSb/ArXn8tGxgNx8FxvCEWIYsnxtIUb9hsqA/Tbt5aUgE7CZtKyJ7q2d7C9mZxYJbgOGbQLtpyimxJ28G61Pb3ACUtX7EzGpSWDxhbMzo4+GF9GAd0VRARJA8N0OnEoTlf9+TwTdBWS41MGGjUy+6VfTd4KtCNWUxm08bFHoR4KlTwxcg4sWVJkcTXfXLKKm7K0DjFiAO3lcIjJWkgorkZQgcwABe+TVm2f6FY5ICXrsfYlzeWLTIDzFJZ5YXlbtufrSx+8A=
- secure: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Pn/7yJwyg6qeFVCCY/OOjN/UrWj8acLwnQIGo3b1BYMSZeS1KMnGDCj/FgQ50X5kWE2/g7slS9FF068l5Ik7+RL8gI11hjQjcGqjE9c1hTuHZJqRs3fSDok1U97ycKfYiWuqQezoN3Jw1tNOcq5t9CN2p88rb/L/NdUTNid0PwlRlAJvL6ZWFZe6Eqw+QYhllLCPePxGARrA1ibpms22ubNazwP0YLlPLgZnrthhdCsBrzgF12Z0moppZ4xGJ8/ffiD1kc7ofPkvW3OPVcZ0bKA1Cslc6vN2+vEF6y7CdqYY=
- secure: CrA/e48QnBP6ohX9i/kjKJRFjVXltm7oTdo+ssErvVppXo53rZitZF9srmLf5GN1Uv1wE6GrIdvdvUFuMXLQHzJpQ7L9P6YIHkYbqK0N2lykqw7vnzYUNKyo7uSMy5wDNF508MRigmYXypYPbiRBJjw5zrW2uqJCin62q3vP531hHPJk3sFByPBHwgJK4pPRuRpnxhZMCtXVwhLHlI7XO1w5IpL/V4p7yw3wDgS4EHxGh37HcivPIhBwp22qQUmzUvDlOCktNMowJjlVf2dA1ITpxRSDjHRh4hr+Cif03EwiFmzf9CuHGErpPwNsMcmfAS9ZeB2JiwHwvwN3BieW/Ru+TxdKNeH6NUZSkHYJpnrvJNSyzr67TD04f+TWEmQXhIMj451rv2qnNbDnEDhoNxalPX+0UlXb5LNtHSXYFd35VpJPJHs+a2GyhxYEgmEbfsrDOcMtQ2pGQQ6B83sE3WdXIB+OiFeKDg9gMqze1cfZfIonYVqNeNOOoMKoiePa6BLQBR76VBy6Z2u/cxOlDNYE90LXcI+4xMaRxKOGING/jg1ppahwFhnxnc7BiZ31GSwXSy02I81ZJDU/53V/EbKLp2G2o/G4pxicZhPUeFrgn3PTr8BSuK/RL2is0caLX22O3t9mddHWTCZzfGyr3Jpc2QY1BUqnq0yRjCSYsPc=
before_install:
- openssl aes-256-cbc -K $encrypted_0ea531749a1c_key -iv $encrypted_0ea531749a1c_iv
-in deploy_key.enc -out ./deploy_key -d
deploy:
provider: script
skip_cleanup: true
script: chmod 600 deploy_key && ssh -o StrictHostKeyChecking=no -i deploy_key [email protected]
./deploy.sh
on:
branch: master