-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
34 lines (27 loc) · 772 Bytes
/
.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
---
language: python
python: 2.7
sudo: required
services:
- docker
# Install requirements
install:
- pip install tox-travis
# Test all the scenarios against the Ansible versions defined in the tox.ini file
script:
- tox
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
# TODO: this should run once
before_deploy:
- pip install ansible==2.4
- ansible-galaxy install --force --roles-path . -r ./molecule/default/requirements.yml
- wget -O packer.zip https://releases.hashicorp.com/packer/1.1.3/packer_1.1.3_linux_amd64.zip
- unzip -o packer.zip
deploy:
- provider: script
script: ./packer build packer-docker.json
skip_cleanup: true
- provider: script
script: ./packer build packer.json
skip_cleanup: true