aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-06-05 22:32:28 +0200
committerGravatar Christopher Baklid <[email protected]>2018-06-05 22:32:28 +0200
commitadec8dc8cc40fefc5b5fa208831b0737661b4bb3 (patch)
tree6e23da47c91893a432ff61d4fcbffb2efee28512
parentuse a ci box (diff)
adds rabbitmq service for tests
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--tests/test_snekbox.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 083218a..0b20b31 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,8 @@ variables:
DOCKER_DRIVER: overlay
services:
-- docker:dind
+ - docker:dind
+ - rabbitmq:3.7.5-alpine
stages:
- build
diff --git a/tests/test_snekbox.py b/tests/test_snekbox.py
index 1f48ee8..3789833 100644
--- a/tests/test_snekbox.py
+++ b/tests/test_snekbox.py
@@ -8,8 +8,7 @@ from rmq import Rmq
r = Rmq()
-nsjail = os.sep.join([os.getcwd(), f'binaries{os.sep}nsjail2.6-ubuntu-x86_64'])
-snek = Snekbox(nsjail_binary=nsjail)
+snek = Snekbox()
class SnekTests(unittest.TestCase):