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
52
.travis.yml
52
.travis.yml
@ -1,37 +1,27 @@
|
||||
dist: xenial # For 18.04, use bionic
|
||||
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
dist: bionic
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
packages:
|
||||
- cmake
|
||||
- cmake-data
|
||||
- libqt5opengl5
|
||||
- qt5-qmake
|
||||
- qt5-default
|
||||
- libqt5opengl5-dev
|
||||
- qtbase5-dev
|
||||
- qtscript5-dev
|
||||
|
||||
before_script:
|
||||
- git clone https://github.com/OPM/ResInsight.git
|
||||
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:
|
||||
############################################################################
|
||||
# Build main and tests
|
||||
############################################################################
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
|
||||
- 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
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user