diff --git a/.travis.yml b/.travis.yml index ab269115ebf2590105aea7b110850365a1219c45..dfa55571ffd8381d5313831078c15e85d22f679d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,14 +9,10 @@ env: - VBOX_MEMORY=2048 - VBOX_HWVIRTEX=off matrix: - - TOXENV=pre-commit - TOXENV=xenial - &stretch TOXENV=stretch - &jessie TOXENV=jessie -matrix: - fast_finish: True - allow_failures: - - env: *stretch + cache: - pip - directories: @@ -27,7 +23,7 @@ install: - 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-travis | cat + - &pip_install pip install tox-travis | cat script: - travis_wait 45 tox @@ -36,3 +32,14 @@ notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ email: false on_failure: never + +matrix: + fast_finish: True + allow_failures: + - env: *stretch + include: + - env: + TOXENV: pre-commit + install: + - *pip_install + sudo: False