Skip to content
.travis.yml 1.11 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
        - TOXENV=pre-commit
nimrod's avatar
nimrod committed
        - tox_switches="--platform openbsd60"
        - &openbsd59 tox_switches="--platform openbsd59"
        - tox_switches="--platform xenial"
        - tox_switches="--platform trusty"
        - tox_switches="--platform precise"
        - &stretch tox_switches="--platform stretch"
        - tox_switches="--platform jessie"
        - tox_switches="--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
nimrod's avatar
nimrod committed
      - .tox
  - 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 tox | cat
nimrod's avatar
nimrod committed
  - travis_wait 45 tox -- $tox_switches
nimrod's avatar
nimrod committed
  webhooks: https://galaxy.ansible.com/api/v1/notifications/
  email: false