ResInsight/.travis.yml
Magne Sjaastad 4b2f740a12
travis : Upgrade to bionic (#5432)
Use Ubuntu 18.04 (bionic)
Use https://github.com/benlau/qtci to install Qt
2020-01-31 10:25:47 +01:00

27 lines
684 B
YAML

language: cpp
dist: bionic
addons:
apt:
packages:
- libxkbcommon-x11-0
- libgl1-mesa-dev
- mesa-common-dev
- libglfw3-dev
- libglu1-mesa-dev
services:
env:
- QT_CI_PACKAGES=qt.qt5.5132.gcc_64,qt.qt5.5132.qtscript PATH="$TRAVIS_BUILD_DIR/Qt/5.13.2/gcc_64/bin:${PATH}"
script:
- git clone https://github.com/benlau/qtci.git
- source qtci/path.env
- install-qt 5.13.2
- mkdir -p build
- cd build
- cmake -DCMAKE_PREFIX_PATH=$TRAVIS_BUILD_DIR/Qt/5.13.2/gcc_64 -DRESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true -DRESINSIGHT_ENABLE_COTIRE=true ..
- make -j8 ResInsight_unity