Add support for Travis (#4631)

This commit is contained in:
Magne Sjaastad 2019-08-26 10:32:14 +02:00 committed by GitHub
parent 222f230687
commit 95602c78e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

37
.travis.yml Normal file
View 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