-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.travis.yml
38 lines (38 loc) · 1.08 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
sudo: required
dist: bionic
language: csharp
mono: none
dotnet: 2.0.0
python:
- "3.6"
services: docker
before_install:
- cd RestWithASPNETUdemy\ 20\ -\ Final\ Release/
- echo "RestWithASPNETUdemy\ 20\ -\ Final\ Release/."
script:
- docker-compose build
before_deploy:
- echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-stdin
deploy:
provider: script
script:
docker push leandrocgsi/restwithaspnetudemy-api;
sudo apt-get -y install python3-pip python-dev;
sudo pip3 install -U setuptools;
sudo pip3 install -U virtualenvwrapper;
python3 -V;
pip3 -V;
pip3 uninstall wheel;
pip3 install wheel;
pip3 install awscli --upgrade --user;
export PATH=$PATH:$HOME/.local/bin;
add-apt-repository ppa:eugenesan/ppa;
apt-get update;
apt-get install jq -y;
curl https://raw.githubusercontent.com/silinternational/ecs-deploy/master/ecs-deploy | sudo tee -a /usr/bin/ecs-deploy;
sudo chmod +x /usr/bin/ecs-deploy;
echo "AWS ECS-Deploy Setup is Configured!";
on:
branch: master
notifications:
email: false