-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
53 lines (41 loc) · 1.83 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
47
48
49
50
51
52
#---------------------------------#
# general configuration #
#---------------------------------#
#---------------------------------#
# environment configuration #
#---------------------------------#
sudo: required
language: csharp
mono: none
dotnet: 2.0.0
dist: trusty
services:
- docker
addons:
hosts:
- ci.cvpz.io
#---------------------------------#
# build configuration #
#---------------------------------#
install:
- docker pull alexsuch/angular-cli:latest
- docker pull microsoft/aspnetcore-build:2.0
- docker pull microsoft/aspnetcore:2.0
- docker pull nginx:latest
script:
- docker-compose -f docker-compose.ci.build.yml run ci-build-netcore
- docker-compose -f docker-compose.ci.build.yml run ci-build-angular
- docker-compose -f docker-compose.yml -f docker-compose.override.yml -p CVPZ up -d
--build
- sleep 30
- docker ps
- curl http://ci.cvpz.io:5000
- curl http://ci.cvpz.io:5001/api/health/ping
- curl http://ci.cvpz.io:5002/api/health/ping
- curl http://ci.cvpz.io:5003/api/health/ping
#---------------------------------#
# notifications #
#---------------------------------#
notifications:
slack:
secure: qJ2Sui1YbfNKyeX+f2p0LZSbh+8wiSLalGu9ze2syQ6JP64Rbo7XvLlTtlgstAI9icx5mF4B4AgY8QwOFwQqOFhnmt6ZZRy52DQ1Z6ARb/Y/Wk9N7k9FEwZNKwXtlB2OpOGYh3dFzvkC/K1339EhfpjJdhaMvlcEw6SdXFR6zCckI5mGvmYGDzuY/qR1laVP8nUaMNli2XOYL5TwlRchDvl2+qnz57aqk42E3NlCY2FoX2EMAdxgDnH9Mo+HXNjFZpy/CfXf6l1qF3QdyIDYsyddT+xx1X8rGhEclYgtgTyxb13zAkwu7zbU64ulJPZEcT1K55sHPOtpt/ADyta1VGf8hLP6So6BIe3Q3JFi6qlzrUGTxIxbbh/pPlk7Vf3jOyRiJFsO2jq4USaBz0XIstOKY7PEyhcWupZG6zqimiR6iPmctaOrDBSQ1LJ8IaFq61/8uJU/XhpPs5utx5ToH8kNnxmd6Noxgsm/48UxhAQAX0eRESEdVRMX6FpsY6zO2ZrAOrPMAp386mwTzbSWrbeCG+4IINZbMP6MRrY7dsMGktJigIx1DXDjKPYnaGaF2Qju9aswlbyoJOgW8zZYbIdRya97ypCpLoU8zbd53GXMbsLEZjCV/BafInpG1WwbT0iF/B0xkHvyNp3mLYk8UCZQMRex+6gi+Dh/PSHteJI=