forked from adoptium/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 843 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
---
language: python
python: "2.7"
sudo: required
dist: trusty
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
script:
- cd ansible
# Check that the inventory is valid
- ansible-inventory --host=build-cloudcone-ubuntu1604-x64-1
# Check Playbook syntax.
- ansible-playbook playbooks/AdoptOpenJDK_Unix_Playbook/main.yml --syntax-check
- ansible-playbook playbooks/AdoptOpenJDK_Windows_Playbook/main.yml --syntax-check
- ansible-playbook playbooks/AdoptOpenJDK_Services_Playbooks/ubuntu-api.yml --syntax-check
- ansible-playbook playbooks/AdoptOpenJDK_Services_Playbooks/ubuntu-jckservices.yml --syntax-check
- ansible-playbook playbooks/aix.yml --syntax-check
- ansible-playbook playbooks/ubuntu-jck.yml --syntax-check