40 lines
679 B
YAML
40 lines
679 B
YAML
---
|
|
language: python
|
|
python: '2.7'
|
|
|
|
env:
|
|
global:
|
|
- MOLECULEW_USE_SYSTEM=true
|
|
matrix:
|
|
# Spin off separate builds for each of the following versions of Ansible
|
|
- MOLECULEW_ANSIBLE=2.6.18
|
|
- MOLECULEW_ANSIBLE=2.8.2
|
|
|
|
# Require the standard build environment
|
|
sudo: required
|
|
|
|
# Require Ubuntu 14.04
|
|
dist: trusty
|
|
|
|
# Require Docker
|
|
services:
|
|
- docker
|
|
|
|
install:
|
|
# Install dependencies
|
|
- ./moleculew wrapper-install
|
|
|
|
# Display versions
|
|
- ./moleculew wrapper-versions
|
|
|
|
script:
|
|
- ./moleculew test
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)([\.\-].*)?$/
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|