diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8b13401 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +sudo: required + +language: c + +services: + - docker + +before_install: + - docker pull jpakkane/mesonci:xenial + +# We need to copy the current checkout inside the container, +# because it has the MR id to be tested checked out. + +script: + - echo FROM jpakkane/mesonci:xenial > Dockerfile + - echo ADD . /root >> Dockerfile + - docker build -t withgit . + - docker run withgit /bin/sh -c "cd /root && ./run_tests.py" |