<p>You can do via docker, since it's a test.
Here is an example repository, both docker and vagrant.
<a href="https://github.com/jonashackt/gitlab-ci-stack" rel="nofollow noreferrer">https://github.com/jonashackt/gitlab-ci-stack</a>
<a href="https://blog.codecentric.de/en/2018/05/gitlab-ci-pipeline/" rel="nofollow noreferrer">https://blog.codecentric.de/en/2018/05/gitlab-ci-pipeline/</a></p>

CC BY-SA 4.0
2018-11-05T18:11:34.640Z
Thank you, saw this post before. Good approach, but I was looking to spin tests on gitlab free servers, need to check if I could include these runners in that workflow.
charlie137
CC BY-SA 4.0
2018-10-17T22:03:17.873Z
2018-10-17T22:03:17.873Z
dalmo.santos
<p>I have a vagrant box, provisioned with Ansible that needs testing on github pull requests. Is it possible to setup CI test suite for the mirror in gitlab-ci without extra expenses on droplets? Or maybe this is something that could be possible with upcoming <code>automation</code> on github? Big fan of <code>travis</code> but looks like they not going to support virtualbox deployment in their containers anytime <a href="https://github.com/travis-ci/travis-ci/issues/6060#issuecomment-221395944" rel="nofollow noreferrer">soon</a>.</p>

<ansible><gitlab><github><vagrant><virtualbox>
vagrant box tests in gitlab-ci
charlie137
# vagrant box tests in gitlab-ci

(Asked by: username_0 on 2018-10-17)

I have a vagrant box, provisioned with Ansible that needs testing on github pull requests. Is it possible to setup CI test suite for the mirror in gitlab-ci without extra expenses on droplets? Or maybe this is something that could be possible with upcoming `automation` on github? Big fan of `travis` but looks like they not going to support virtualbox deployment in their containers anytime [soon](https://github.com/travis-ci/travis-ci/issues/6060#issuecomment-221395944).

**Tags:** ansible, gitlab, github, vagrant, virtualbox


---

## 1 answers

### Answer by username_1 on 2018-10-17. Score: 2

You can do via docker, since it's a test.
Here is an example repository, both docker and vagrant.
<https://github.com/jonashackt/gitlab-ci-stack>
<https://blog.codecentric.de/en/2018/05/gitlab-ci-pipeline/>

> **Comments:**
> **username_0**: Thank you, saw this post before. Good approach, but I was looking to spin tests on gitlab free servers, need to check if I could include these runners in that workflow.  

---

