Tox can't manage the dependencies of bundler-based tests, so we have to
depend on external software state, which kinda defeats the point of
managing tests with tox. Just don't manage them with tox.
Also install deps required for some coala bears.
Change-Id: Ibffa4f118e4f465fa62e337a8ef4f8cd29f41a21
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
[tox]
minversion = 1.6.0
-envlist = test,coala
+envlist = coala
skipsdist = true
[testenv]
passenv = HOME
-whitelist_externals= bundle
+whitelist_externals = bundle
[testenv:coala]
basepython = python3
nodeenv
commands =
nodeenv -p
+ npm install --global dockerfile_lint remark-cli remark-lint
python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
coala --non-interactive
-
-[testenv:test]
-commands =
- bundle
- bundle exec rake test
-
-[testenv:sanity]
-commands =
- bundle
- bundle exec rake sanity
-
-[testenv:full-dock]
-commands =
- bundle
- bundle exec rake acceptance_dock
-
-[testenv:full-vm]
-commands =
- bundle
- bundle exec rake acceptance_vm