Revision b25db340214b24a108f008244c41383bd61e71d4 authored by Tom Fischer on 26 November 2015, 12:30:32 UTC, committed by Tom Fischer on 26 November 2015, 12:30:32 UTC
Lin solver config
.travis.yml
sudo: false
language: cpp
compiler:
- gcc
- clang
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
# TODO: feelpp/petsc
packages:
- g++-4.8
- libboost1.55-dev
- libboost-date-time1.55-dev
- libboost-filesystem1.55-dev
- libboost-program-options1.55-dev
- libboost-system1.55-dev
- qt4-dev-tools
- libxt-dev
# TODO
# - libpetsc3.4.2-dev
# Not allowed yet:
# - numdiff
# - libshp-dev
# - libgeotiff-dev
cache:
directories:
- $HOME/cmake-3.1.1-Linux-x86_64
- $HOME/VTK-Install
env:
global:
- VTK_DIR=VTK-Install/lib/cmake/vtk-6.3
matrix:
- CASE=CLI CMAKE_ARGS="-DOGS_BUILD_GUI=OFF -DOGS_BUILD_UTILS=ON -DVTK_DIR=$HOME/$VTK_DIR"
# - CASE=CLI_PETSC CMAKE_ARGS="-DOGS_BUILD_GUI=OFF -DOGS_BUILD_UTILS=OFF -DOGS_USE_PETSC=ON -DPETSC_DIR=/usr/lib/petscdir/3.4.2/"
- CASE=GUI CMAKE_ARGS="-DOGS_BUILD_GUI=ON -DOGS_BUILD_CLI=OFF -DOGS_BUILD_TESTS=OFF -DVTK_DIR=$HOME/$VTK_DIR"
before_install:
- bash scripts/travis/cmake.sh
- bash scripts/travis/vtk.sh
before_script:
- export PATH=$HOME/cmake-3.1.1-Linux-x86_64/bin:$PATH
- if [ "$CC" == "gcc" ]; then export CXX=g++-4.8 CC=gcc-4.8; fi
script:
- mkdir build
- cd build
- cmake $CMAKE_ARGS ..
- make -j 2
- if [[ "$CASE" == "CLI" ]]; then make tests; fi
# PetSc
#- if [[ "$CASE" == "CLI_PETSC" ]]; then make tests_mpi; fi
notifications:
hipchat:
rooms:
secure: kmLyt50IGFuK96xbD+VzWRRzF6UU6SdVpsn1bolKQaTCCj1rz4H1np1iUML0jeGn86DAkkHPWmFXaS2JN0EoX8L74HavJSkUfIa49cegk0je986fxucaUV1fnhFIRh6EGkpqvqE+uXs/wKHkzrkYbpHaRvJgmxQSV9kR4yRuAmw=
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...