-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (32 loc) · 2.28 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
sudo: required
services:
- docker
before_install:
- docker build -t cartron/react-test -f ./client/Dockerfile.dev ./client
script:
- docker run -e CI=true cartron/react-test npm test
after_success:
- docker build -t cartron/multi-client ./client
- docker build -t cartron/multi-nginx ./nginx
- docker build -t cartron/multi-server ./server
- docker build -t cartron/multi-worker ./worker
# Login to the Docker CLI
- docker login --username "$DOCKER_ID" --password "$DOCKER_PASSWORD"
# Push images to Docker Hub
- docker push cartron/multi-client
- docker push cartron/multi-nginx
- docker push cartron/multi-server
- docker push cartron/multi-worker
deploy:
provider: elasticbeanstalk
region: eu-west-3
app: multi-docker
env: MultiDocker-env
bucket_name: elasticbeanstalk-eu-west-3-244142604025
bucket_path: docker-multi
access_key_id:
secure: "TuoOy5Dr776NleFlHbHbprtpe7PdnnHH9xatvnlXomKG1HUcN+TVaxiw/5VjKuTszYd0lRq/txAFk7tLrhwCaig5/Rjm/VNqOSMDvtjQ+0fyu1xljR/+Fi6aODDeBqvT6iCKb3xeP4BoLNFdv7ko/XJwJOXpPZSj1Ez8kWoOBy/5izL1av/O06XAcWTZxaVReEqzrd6zK0Jj04L4HuoEau44Qcw5HhEYw9QSjI+rdmes/NqfQAJwJl6dUxE1rIFoBqa5BcmfN3i0SMx8wpp+esg5JArHrTwQgX8jIDy+zNMr/8wUcb7RlMcXri5q1sa25Hi+UwN4UNA58ZaCZi1pH7zQ3tSVh0fNIWX1VII/gOw38d3R47t720i00+wrvVRKqmPsXs4ybYN9lnnZq0NYFyy0z1m+hDCkY4PoAPnZ+FIWE9jUxTu1YwAIhYqioEvqe+8mS5MpCFV3If4WnlMZTK3dGPN415ZdEUBMMwG0ZYq4tVjBqBu7KRRyjKLxRNsEi+Ij2znj8T48Rmx7Y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