Skip to content

Commit

Permalink
#22 updated travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran Tsao committed Jan 3, 2020
1 parent 6320273 commit fbec719
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
30 changes: 10 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,20 @@
---
dist: xenial
language: python
python: "2.7.13"
group: deprecated-2017Q4

python: "3.7"
sudo: required
group: deprecated-2017Q4

env:
- ansible_version: 2.4.0.0
- ansible_version: 2.4.1.0
- ansible_version: 2.4.2.0
- ansible_version: 2.4.3.0
- ansible_version: 2.5.0.0
- ansible_version: 2.8.0.0

services:
- docker

install:
- pip install ansible==${ansible_version}
- pip install molecule==1.25.0
- pip install ansible-lint==3.4.20
- pip install testinfra==1.7.1
- pip install docker
- pip install pipenv
- pipenv sync
env:
matrix:
- DOCKER_BASE_IMAGE=debian:stretch-slim
- DOCKER_BASE_IMAGE=debian:buster-slim
script:
- molecule test --driver docker
- export DOCKER_BASE_IMAGE=${DOCKER_BASE_IMAGE}
- pipenv run molecule test

notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platforms:
- name: prom2teams
groups:
- prom2teams
image: ${MOLECULE_DISTRO:-debian:stretch-slim}
image: ${DOCKER_BASE_IMAGE:-debian:buster-slim}
privileged: false
capabilities:
- SYS_ADMIN
Expand Down

0 comments on commit fbec719

Please sign in to comment.