-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (32 loc) · 2.04 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
sudo: required
language: python
python:
- '3.6'
services:
- docker
before_install:
- sudo rm -f /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose --version
- docker -v
script:
- export APP_VERSION=$(git tag | tail -n1)
- echo $APP_VERSION
- docker-compose -f docker-compose-dev.yml build
- docker images | grep 'web\|celery'
deploy:
provider: script
script: bash docker_push
on:
tags: true
#branch: master
env:
global:
- secure: oAv801zUMhX9AV4jBLbfwYMbVIrKQBdpj3CPS9zpDTfUM+mUJ9l649G71Z9ttkjygMaaChU0tKjCERN/bT1XEEDPBV4Mi2joQIpeb6RYzQFMmKb0X02gQqSKVWlo0/+sFmK4bjXtBHPmlJzyAc5Cltd66wCsslUVcAL5r9enu7atcBkqeZElABoiHHqiMo06ymTVNCUE7fl5Vsg7s6vZOKTsxmk2JF4Czxe+xKt6vG6qhnh/1BJZdTy+TxfYdrKCYctLE2HAbgTI0h4xsOpv8QlnW4Kk1GwzCphzV6OeC71wBgL4d38VIfX6shc9Vm7FBrhP/NcvoM/YEipRCu3PYA317uggjj7hngvUvHXSkiIaih/Yd/rgiQ7XYnMclSpmAaCv6EC2asjCw7dnpHiJCSYweUmwFLJt925syZOiU8thZPVDhymb4pcfvF1tNBtrKljUh4J/AQoSHOUZZELApGUsVeiu5EDzVHKFLUg27WvYTwuyWD014Wwm3SDav9ActkW0TrkjJg3/lADpNV1rm1FyZtGYGnDKy0lQpyWdw9VB1DA5xxFm9kT7goHtxICXAOn06PnJophkorlSE3oMUcoH4GK4/NwQSg/wcizM2edAV6lq/bSF3l4Q1f6MH/31mo+Pfr9LBUJwyzf+pppvo4S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