-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (31 loc) · 834 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
35
36
37
38
39
40
41
42
---
language: python
services: docker
env:
global:
- ROLE_NAME: poc-labs
matrix:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: debian9
install:
# Install test dependencies.
- pip install molecule docker
before_script:
# Use actual Ansible Galaxy role name for the project directory.
# - cd ../
# - ls -la
# - mv -v role-$ROLE_NAME daverod24.$ROLE_NAME
# - cd daverod24.$ROLE_NAME
script:
# Run tests.
- cd provision/roles/poc-labs
- molecule test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
# script:
# # Download test shim.
# - wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/nickjj/d12353b5b601e33cd62fda111359957a/raw
# - chmod +x ${PWD}/tests/test.sh
# # Run tests.
# - ${PWD}/tests/test.sh