-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.travis.yml
36 lines (31 loc) · 1.37 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
sudo: true
services:
- docker
before_install:
- docker info
- docker version
- docker build -f test/Dockerfile-ubuntu16.04 -t fluentd_xenial .
- docker build -f test/Dockerfile-ubuntu14.04 -t fluentd_trusty .
- docker build -f test/Dockerfile-ubuntu12.04 -t fluentd_precise .
- docker build -f test/Dockerfile-debian8 -t fluentd_jessie .
- docker build -f test/Dockerfile-debian7 -t fluentd_wheezy .
- docker build -f test/Dockerfile-centos7 -t fluentd_centos7 .
- docker build -f test/Dockerfile-centos6 -t fluentd_centos6 .
script:
- docker run -v $(pwd):/data fluentd_xenial
- docker run -v $(pwd):/data fluentd_trusty
- docker run -v $(pwd):/data fluentd_precise
- docker run -v $(pwd):/data fluentd_jessie
- docker run -v $(pwd):/data fluentd_wheezy
- docker run -v $(pwd):/data fluentd_centos7
- docker run -v $(pwd):/data fluentd_centos6
- echo "==> Validating the test results..."
- grep 'monitor_agent' result-ubuntu16.04
- grep 'monitor_agent' result-ubuntu14.04
- grep 'monitor_agent' result-ubuntu12.04
- grep 'monitor_agent' result-debian8
- grep 'monitor_agent' result-debian7
- grep 'monitor_agent' result-centos7
- grep 'monitor_agent' result-centos6
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/