Don't manage bundler-based tests in tox, fix dep 22/56122/1
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 26 Apr 2017 19:59:03 +0000 (15:59 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 26 Apr 2017 19:59:03 +0000 (15:59 -0400)
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.ini

diff --git a/tox.ini b/tox.ini
index e005b7dc5fb7e68a271a8ac63a5f46556cbcd9b3..655ae9aa53cbdf16ccf08332489a3bbfd62e4479 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,11 @@
 [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
@@ -15,25 +15,6 @@ deps =
     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