aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: c260b1ec8e8ca701f5faf7b64e557e8612770be8 (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
dist: xenial
language: minimal

env:
  - DOCKER=centos6
  - DOCKER=centos7
  - DOCKER=trusty
  - DOCKER=xenial

matrix:
  include:
  - language: cpp
    env:
    before_install:
    - sudo apt-get install -y libgnutls-dev libfltk1.3-dev fluid
    - sudo apt-get install -y libxtst-dev libxdamage-dev libxfixes-dev libxrandr-dev
    script:
    - cmake -DCMAKE_BUILD_TYPE=Debug . && make

  - language: java
    # We're not compatible with the newer java
    dist: trusty
    env:
    before_install: skip
    script:
    - cd java && cmake . && make

before_install:
  - docker build -t tigervnc/$DOCKER .travis/$DOCKER
script:
  - .travis/$DOCKER/build.sh