sync travis config files

This commit is contained in:
Sébastien Loriot 2017-08-09 09:32:10 +02:00
parent 984feb6382
commit 42750df0af
2 changed files with 199 additions and 199 deletions

View File

@ -44,23 +44,25 @@ env:
- PACKAGE='Triangulation_2 Triangulation_3 Union_find ' - PACKAGE='Triangulation_2 Triangulation_3 Union_find '
- PACKAGE='Visibility_2 Voronoi_diagram_2 ' - PACKAGE='Visibility_2 Voronoi_diagram_2 '
- PACKAGE='Polyhedron_demo' - PACKAGE='Polyhedron_demo'
compiler:
- clang-3.6
- gcc
install: install:
- if [[ "$CXX" = "clang++" ]]; then export CXX=clang++-3.6 CC=clang-3.6; fi
before_script: before_script:
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake -DCGAL_HEADER_ONLY=ON -DWITH_demos:BOOL=TRUE -DWITH_examples:BOOL=true -DWITH_tests:BOOL=TRUE -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG .. - cmake -DCGAL_HEADER_ONLY=ON -DQt5_DIR="/opt/qt55/lib/cmake/Qt5" -DQt5Svg_DIR="/opt/qt55/lib/cmake/Qt5Svg" -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DWITH_demos:BOOL=TRUE -DWITH_examples:BOOL=true -DWITH_tests:BOOL=TRUE -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
- make - make
- cd .. - cd ..
script: script:
- cd ./.travis - cd ./.travis
- bash -x -e ./build_package.sh $PACKAGE - bash -x -e ./build_package.sh $PACKAGE
compiler:
- clang
- gcc
addons: addons:
apt: apt:
sources: sources:
- sourceline: 'ppa:ppsspp/cmake' - sourceline: 'ppa:ppsspp/cmake'
- sourceline: 'ppa:hedges/qt5.5'
packages: packages:
- clang-3.6 - clang-3.6
- zsh - zsh
@ -73,16 +75,14 @@ addons:
- libmpfr-dev - libmpfr-dev
- zlib1g-dev - zlib1g-dev
- libeigen3-dev # too old - libeigen3-dev # too old
- qtbase5-dev - qt55base
- qtscript5-dev - qt55script
- libqt5svg5-dev - qt55svg
- qttools5-dev - qt55tools
- qttools5-dev-tools - qt55graphicaleffects
- libqt5opengl5-dev
- libqt5gui5 - mesa-common-dev
- libqt5widgets5 - libglu1-mesa-dev
- libqt5xml5
- qt5-qmake
# Not allowed (yet) # Not allowed (yet)
# - geomview # - geomview
# - libglew1.5-dev # - libglew1.5-dev