diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 50 |
1 files changed, 33 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml index ceafcbb7..69198463 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,36 @@ -language: - - c++ - - java +language: minimal -# Travis is still stuck on Ubuntu 14.04, which has too old crap -before_install: -# GnuTLS 3.x - - sudo apt-get install -y libgnutls28-dev -# FLTK 1.3.4 - - wget http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz - - tar -xvf fltk-1.3.4-2-source.tar.gz - - pushd fltk-1.3.4-2 - - ./configure --prefix=/usr --enable-shared - - make -j2 - - sudo make install - - popd +env: + - DOCKER=centos7 + +matrix: + include: + - language: c++ + env: + + # Travis is still stuck on Ubuntu 14.04, which has too old crap + before_install: + # GnuTLS 3.x + - sudo apt-get install -y libgnutls28-dev + # FLTK 1.3.4 + - wget http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz + - tar -xvf fltk-1.3.4-2-source.tar.gz + - pushd fltk-1.3.4-2 + - ./configure --prefix=/usr --enable-shared + - make -j2 + - sudo make install + - popd + script: + - cmake -DCMAKE_BUILD_TYPE=Debug . && make + + - language: java + env: + before_install: skip + script: + - cd java && cmake . && make + +before_install: + - docker build -t tigervnc/$DOCKER .travis/$DOCKER script: - - cmake -DCMAKE_BUILD_TYPE=Debug . && make - - cd java && cmake . && make + - .travis/$DOCKER/build.sh |