mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add support for Travis (#4631)
This commit is contained in:
parent
222f230687
commit
95602c78e1
37
.travis.yml
Normal file
37
.travis.yml
Normal file
@ -0,0 +1,37 @@
|
||||
dist: xenial # For 18.04, use bionic
|
||||
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
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
|
||||
|
||||
script:
|
||||
############################################################################
|
||||
# Build main and tests
|
||||
############################################################################
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
|
||||
- cmake -DRESINSIGHT_ENABLE_COTIRE=true ..
|
||||
|
||||
# Build the default target
|
||||
#- make -j8
|
||||
|
||||
# Build the target produced by Cotire
|
||||
- make -j8 ResInsight_unity
|
Loading…
Reference in New Issue
Block a user