Skip to content
.travis.yml 1.01 KiB
Newer Older
---
language: python
nimrod's avatar
nimrod committed
python: ["2.7", "3.5"]
nimrod's avatar
nimrod committed
dist: trusty
nimrod's avatar
nimrod committed
group: beta
    - &openbsd59 platform=openbsd59
    - platform: xenial
    - &stretch platform=stretch
    - platform: jessie
    - platform: wheezy
nimrod's avatar
nimrod committed
matrix:
nimrod's avatar
nimrod committed
    allow_failures:
nimrod's avatar
nimrod committed
        - python: "3.5"
        - env: *stretch
nimrod's avatar
nimrod committed
cache:
  - pip
  - directories:
      - $HOME/.pre-commit
  - sudo apt-get update
  - sudo apt-get install -y linux-headers-$(uname -r) virtualbox
  - wget https://releases.hashicorp.com/vagrant/1.9.1/vagrant_1.9.1_x86_64.deb
  - sudo dpkg -i vagrant_1.9.1_x86_64.deb
  - pip install -r tests/requirements.txt | cat
nimrod's avatar
nimrod committed
  - ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles
  - molecule dependency
nimrod's avatar
nimrod committed
  - pre-commit run --all-files
  - molecule test --platform $platform
nimrod's avatar
nimrod committed
  webhooks: https://galaxy.ansible.com/api/v1/notifications/
  email: false