-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
33 lines (33 loc) · 1.02 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
---
sudo: required
language: python
python:
- 3.9
env:
- MOLECULE_SCENARIO=alpine MOLECULE_USER=jenkins
- MOLECULE_SCENARIO=alpine MOLECULE_USER=root
- MOLECULE_SCENARIO=centos MOLECULE_USER=jenkins
- MOLECULE_SCENARIO=centos MOLECULE_USER=root
- MOLECULE_SCENARIO=debian MOLECULE_USER=jenkins
- MOLECULE_SCENARIO=debian MOLECULE_USER=root
- MOLECULE_SCENARIO=fedora MOLECULE_USER=jenkins
- MOLECULE_SCENARIO=fedora MOLECULE_USER=root
- MOLECULE_SCENARIO=ubuntu MOLECULE_USER=jenkins
- MOLECULE_SCENARIO=ubuntu MOLECULE_USER=root
services:
- docker
before_install:
- sudo apt-get -qq update
- python3 -m pip install -U pip
- python3 -m pip install -U virtualenv
- python3 -m venv .venv
install:
- source .venv/bin/activate; pip install -r tests/test-requirements.txt; deactivate
script:
- source .venv/bin/activate; molecule test -s ${MOLECULE_SCENARIO}; deactivate
branches:
only:
- master
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/