-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (22 loc) · 1.41 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
env:
- DOCKER_COMPOSE_VERSION=1.21.0
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname
-s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
jobs:
include:
# - stage: test
# script: make app-test
- stage: build docker image
if: branch = master
script:
- docker login -u=rabinzon -p="$DOCKER_PASS"
- docker build -t rabinzon/read_quran --file services/app/Dockerfile.production services/app/
- sudo docker tag rabinzon/read_quran rabinzon/read_quran:latest
- docker push rabinzon/read_quran
notifications:
slack:
secure: f/VCUTWBbTLYW1NzcvU+yrVRw1odcuwIUDlzvgr9vt9EgawYHapMR7YWg8nove67GBrs7zrT+fwN2O2fxz6DZpzxhuvwvvDgMxMODGSriUDfZofIseK57eug0e7mwQsWqmqt3FrnvaTivLExKYa1JdXhC3hx0E60dlBtxNJiciyqDiYDYBddwdsqcCIYKXBUefmhXV8HlmK+w3cL4U4m4ogeBy9hGgEV0AlNQNDLiHtY6WL/+cZOOVsYBSj7XfPAlB1iI01/SBdj6aC+BFttAspsDgwuiWpsc1vGuuke1OC4iaDIpXgR7Ski6V0JIsCumkJLEFQbhUMpZr8nDjEi1ZiLbuYMyh6R76CJW+dsr7dHX/b+HESnELYZMagsCbHiLK/myeqNjRS1xWK9+faPXOolRcOy9oFLDmGXLQSjRdXk/ZTgHW7ZuUJ67nR2u/2Me3BZ1UIFvntSAeFWq4qju3yyzyP4I8+/e23whJHVwpevjAGx3kzTUEKBWOFHjnSGa1wMs4XICT90MkzbOm9Oeqa9BrzqNYKWG8ePrnNZlVhPCL65AKlqs4dcA2/758U3exGOg7yemqyNY4BZfp05AS7FaxyLE03Iw4sRXjrpXAF9nhsVUWS04W7wtb4CJkLe+lYUq8QEI8ISalnvvvvjDQeBcikcwxZAH1VbF/aZ+Q4=