aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8b13401e5e22255be2181598e1d34d71e1954b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"