diff --git a/.travis.yml b/.travis.yml index 520f319b07f15c22c001eb8254b1aaf2fba7faa8..b6502e54a81be24b4c391b7fb5dc4305bb6832a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,21 @@ --- language: python -python: "2.7" +python: ["2.7", "3.4"] dist: trusty sudo: True group: beta services: [docker] env: - - platform: openbsd - driver: vagrant - - platform: xenial - driver: vagrant - - platform: jessie - driver: vagrant - - platform: trusty + - platform: openbsd60 driver: vagrant + - &openbsd59 platform=openbsd59 driver=vagrant + - driver: docker + platform: all +matrix: + fast_finish: True + allow_failures: + - python: "3.4" + - env: *openbsd59 cache: - pip - directories: diff --git a/molecule.yml b/molecule.yml index 93b80739c679fe3d1e828cff5cdb4e592c8c33f9..44143a7f2d9b4158d63d0f6cd3c53f12565cd18f 100644 --- a/molecule.yml +++ b/molecule.yml @@ -16,14 +16,18 @@ vagrant: options: cpus: 1 platforms: - - name: openbsd + - name: openbsd60 box: fnichol/openbsd-6.0-i386 + - name: openbsd59 + box: fnichol/openbsd-5.9-i386 - name: xenial box: ubuntu/xenial32 - - name: jessie - box: nogajun/jessie32 - name: trusty box: ubuntu/trusty32 + - name: jessie + box: debian/jessie32 + - name: wheezy + box: debian/wheezy32 instances: - name: gitreceive options: @@ -70,3 +74,10 @@ docker: environment: DEBIAN_FRONTEND: noninteractive container: docker + - name: gitreceive-wheezy + image: debian + image_version: wheezy + command: /sbin/init + environment: + DEBIAN_FRONTEND: noninteractive + container: docker diff --git a/tasks/main.yml b/tasks/main.yml index 4155731caf9543f30b94b6ab2f083db84000ba9c..effc893bf45f5ea50974e4e68d42efa368de1d39 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,6 @@ --- # tasks file for gitreceive + - name: Assertions assert: that: diff --git a/tests/playbook.yml b/tests/playbook.yml index 8db34c0a00c279234efd1640c9c2f77d5c3d2236..38034e9846eadea51012cf961f729c13292292e5 100644 --- a/tests/playbook.yml +++ b/tests/playbook.yml @@ -1,5 +1,5 @@ --- -- hosts: gitreceive-openbsd +- hosts: gitreceive-openbsd* gather_facts: false roles: [openbsd-bootstrap] diff --git a/tests/requirements.txt b/tests/requirements.txt index f222e79fb237292bf6403d90bcf0a54a1709f450..1c8ea361c0af0ec637c22c71f1acdb9cd22295a0 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -2,7 +2,7 @@ ansible==2.2.0.0 testinfra==1.5.1 molecule==1.17.3 ansible-lint==3.4.9 -pre-commit==0.9.4 +pre-commit==0.10.1 piprot==0.9.7 python-vagrant==0.5.14 docker-py==1.10.6