Commit 3d4ac03a authored by nimrod's avatar nimrod
Browse files

- Use tox-travis.

- Don't cache .tox, packages aren't updated.
parent f39051a9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -27,14 +27,13 @@ cache:
  - pip
  - directories:
      - $HOME/.pre-commit
      - .tox

install:
  - 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
  - pip install tox-travis | cat

script:
  - travis_wait 45 tox -- $tox_switches
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ commands =
    molecule dependency
    pre-commit run --all-files

[testenv:molecule]
[testenv]
envdir = {toxinidir}/.tox
deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_*