mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
travis : Upgrade to bionic (#5432)
Use Ubuntu 18.04 (bionic) Use https://github.com/benlau/qtci to install Qt
This commit is contained in:
parent
d3f026b84c
commit
4b2f740a12
40
.travis.yml
40
.travis.yml
@ -1,37 +1,27 @@
|
|||||||
dist: xenial # For 18.04, use bionic
|
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
compiler:
|
dist: bionic
|
||||||
- gcc
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
|
||||||
packages:
|
packages:
|
||||||
- cmake
|
- libxkbcommon-x11-0
|
||||||
- cmake-data
|
- libgl1-mesa-dev
|
||||||
- libqt5opengl5
|
- mesa-common-dev
|
||||||
- qt5-qmake
|
- libglfw3-dev
|
||||||
- qt5-default
|
- libglu1-mesa-dev
|
||||||
- libqt5opengl5-dev
|
|
||||||
- qtbase5-dev
|
|
||||||
- qtscript5-dev
|
|
||||||
|
|
||||||
before_script:
|
services:
|
||||||
- git clone https://github.com/OPM/ResInsight.git
|
|
||||||
|
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:
|
script:
|
||||||
############################################################################
|
- git clone https://github.com/benlau/qtci.git
|
||||||
# Build main and tests
|
- source qtci/path.env
|
||||||
############################################################################
|
- install-qt 5.13.2
|
||||||
- mkdir -p build
|
- mkdir -p build
|
||||||
- cd 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 ..
|
||||||
- cmake -DRESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true -DRESINSIGHT_ENABLE_COTIRE=true ..
|
|
||||||
|
|
||||||
# Build the default target
|
|
||||||
#- make -j8
|
|
||||||
|
|
||||||
# Build the target produced by Cotire
|
|
||||||
- make -j8 ResInsight_unity
|
- make -j8 ResInsight_unity
|
||||||
|
|
Loading…
Reference in New Issue
Block a user