summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0cfb4696d6274c19a082bedc5a45be7f575bc700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo: false

branches:
  except:
    - debian
    - khronos-registry

os:
  - linux

compiler:
  - gcc
  - clang

language:
  - c

services:
  - docker

before_install:
  - docker pull ebassi/epoxyci

before_script:
  - echo FROM ebassi/epoxyci > Dockerfile
  - echo ADD . /root >> Dockerfile
  - docker build -t withgit .

script:
  - docker run withgit /bin/sh -c "CC=$CC ./epoxy-run-tests.sh"
  - docker run withgit /bin/sh -c "CC=$CC ./epoxy-run-tests.sh -Dglx=no"
  - docker run withgit /bin/sh -c "CC=$CC ./epoxy-run-tests.sh -Degl=no"
  - docker run withgit /bin/sh -c "CC=$CC ./epoxy-run-tests.sh -Dx11=false"