Skip to content
Snippets Groups Projects
Commit 3d4ac03a authored by nimrod's avatar nimrod
Browse files

- Use tox-travis.

- Don't cache .tox, packages aren't updated.
parent f39051a9
No related branches found
No related tags found
No related merge requests found
...@@ -27,14 +27,13 @@ cache: ...@@ -27,14 +27,13 @@ cache:
- pip - pip
- directories: - directories:
- $HOME/.pre-commit - $HOME/.pre-commit
- .tox
install: install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get install -y linux-headers-$(uname -r) virtualbox - 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 - 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 - sudo dpkg -i vagrant_1.9.1_x86_64.deb
- pip install tox | cat - pip install tox-travis | cat
script: script:
- travis_wait 45 tox -- $tox_switches - travis_wait 45 tox -- $tox_switches
......
...@@ -14,7 +14,7 @@ commands = ...@@ -14,7 +14,7 @@ commands =
molecule dependency molecule dependency
pre-commit run --all-files pre-commit run --all-files
[testenv:molecule] [testenv]
envdir = {toxinidir}/.tox envdir = {toxinidir}/.tox
deps = -rtests/requirements.txt deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_* passenv = HOME VBOX* ANSIBLE_*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment