-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (37 loc) · 1.03 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
branches:
only:
- master
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4d0c8fc4ca09ede7282e
- https://api.opsgenie.com/v1/json/travisci?apiKey=dc0f16f7-e49d-4fa8-a920-9de1b9da1782
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
env:
- DISTRO=alpine
- DISTRO=ubuntu
- DISTRO=ubuntu/12.04
- DISTRO=ubuntu/14.04
- DISTRO=ubuntu/15.04
- DISTRO=ubuntu/15.10
- DISTRO=debian
- DISTRO=debian/jessie
- DISTRO=debian/squeeze
- DISTRO=debian/wheezy
- DISTRO=debian/stable
- DISTRO=centos
- DISTRO=centos/5
- DISTRO=centos/6
- DISTRO=centos/7
- DISTRO=opensuse
- DISTRO=alpine
- DISTRO=codenvy
script:
- docker build -t scottmiller171/"$DISTRO"-ansible:latest ./"$DISTRO"
- docker run -it scottmiller171/"$DISTRO"-ansible:latest ansible -i "localhost," -c local localhost -m ping