diff options
author | 2018-06-05 22:32:28 +0200 | |
---|---|---|
committer | 2018-06-05 22:32:28 +0200 | |
commit | adec8dc8cc40fefc5b5fa208831b0737661b4bb3 (patch) | |
tree | 6e23da47c91893a432ff61d4fcbffb2efee28512 | |
parent | use a ci box (diff) |
adds rabbitmq service for tests
-rw-r--r-- | .gitlab-ci.yml | 3 | ||||
-rw-r--r-- | tests/test_snekbox.py | 3 |
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): |