This repository has been archived by the owner on Jan 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (46 loc) · 3.88 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
41
42
43
44
45
46
sudo: required
language: go
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION=1.17.1
- secure: j/tMg8ROJWqJ482ebiy6FpNeSPMTlCkZFKeVqJpo5ek4qBHk36e7ggOyAgZiQMcsg0b8Ihyvyr1SAhbiahbS5+JTBIkZppSdABECtbTmm4L5Sql8s70UsmwZgWh6VsrVmjKHeFLB431b+aZIxh8zRmjszhsFXL1EFnAOyvzRCDqU5Qb/5QNSSK+t/LZ44y7C3ey3TopBz/oFYtrLq39J1gGDUR4r9IMHM5COXaWcm9iPYg3uG4yr4R/3h0ElunPy3tjY1dyEsWInjVxbzrdNOtsUbjgOiyT8nnsElJGNJSLL2l2XNEdQK3Lwp8wXxJ4KwSq5m4oecV6tEz8LwKptZR/LH/6nxvAG7GkONqzafqN3z2VqV1wMyN7WGG2t7uv01D/93MrXY8QvBmM543qH4GwhEwhUvZ30Kizg5jbSht1TkuocBDuOa/dam7Ul7HD/k3CruHsIpy2qenZYLzzeplBPBhtcElH0oSr/h5A8kW2WZrqSnV14hbMJPWLweS104TRCso8PjH5qKDO2cqzlt7ziqqHChls7yqyv/P3PjCHgQTvTs9VKEEctE7ASvj37nGQVm+wjmWDBV99deoBI8QFRGozcrwkqgrLQmCbB+jodRfNZBzs60RAP12eDqWHrBo9gX7/X9vLu6iTM6Qv6ErJ2bUVfukkhrYlyALxEuWA=
- secure: LV3fHn67qgXoUEAuZ2MEsgYAHKpKEi07iIyOlPGN8YCYQY1zvtyvgpPmAWPZxvA0iW5sqIJswZ6E2es9CJJQo6bEm2rybhcmChqeOO8hyWhoOwAGa5rddfCCi7DR4cELwjAdFZkXHhkm2tBqs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5J+dWF0phQenCuIxI7XwuCyR8ASsmTIuUYsLo46B/pJBRX7v9EXJCC/QoPWBjneWYRqs0AJ9Hm4k0yeaMooKGDeU0FWPq4drEDQZXZKEcFG1KWf2JzzsPp62RnXJajUfXjgRP4XXJKNM7EUY/C0tAIn72e9Fo=
- secure: KFHwolAABe9INaNpfFhckCxgqP0cP+yew8lZw9xBtiCsRqiN3Pzxrv4mU9ORcQTOshHRYWIJWeFUzqVIm72XOvcpmcXhz9VT4/HFOXr1x/eN/GgwYh0IMeyar4HlL+bYTPxza5GeHbN5r0w9TtpXIzG8NDGz+QEorUiM/d2tuMkOH0bPl+JedIs5RLWaFszaQ4FkMe+1vrhddW51kjh931XounGgjikmQ4J0CFErp3kH9Dv9niarn7KKeTNvCaFWWyg0zTIF5ExLuVNjsZTHCH3zrJfnVbZ/kKEpe3VUmK+fXdkhe2brPPiWsjaRRxxXS6kSuUFmXOI04eJf9TDZhL+cjede8279yZ+lQ9/2vP3gzMDV4bUKO7aUfUQvRw3W6MytTusmFKwXCqz90Q8nqwIC8qSR5Qtu2qRKuvWPuIena4v9cuG9cnI8VBosMLj7/CUOObDly1EcePADxjaPZ80R5rD6yzQrKlqZRvLJlIxhBNTQfNNgp6G1jcGfsyp97TrERMsQjqvByX0/O/lMTXoQpb8F9gG14jJRGhrlhFuEjaVoKWNqCVNFhLopZy2iHrluqG2zxKeGQGWKouZrhALN/GK3OBdyE1SK6NGSoirttnZXn69zkYiKp/CcTUPvroFQgMsjWxK+gh6cKZKc3YRESG80ol3Q1QD761EKG/s=
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
- docker-compose --version
- 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
- docker-compose --version
- curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
- sudo apt-get install -y nodejs
- sudo npm install -g npm
- node -v && npm -v
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
install:
- docker-compose build
- docker-compose up -d
before_script:
- docker ps
- docker-compose ps
- docker-compose logs
script:
- curl http://localhost/
after_script:
- docker-compose stop
- docker-compose rm -f
notifications:
emails:
on_success: never
on_failure: always