mirror of https://github.com/CGAL/cgal
77 lines
4.1 KiB
YAML
77 lines
4.1 KiB
YAML
language: cpp
|
|
dist: trusty
|
|
sudo: required
|
|
git:
|
|
depth: 3
|
|
env:
|
|
matrix:
|
|
- PACKAGE='CHECK'
|
|
- PACKAGE='AABB_tree Advancing_front_surface_reconstruction Algebraic_foundations '
|
|
- PACKAGE='Algebraic_kernel_d Algebraic_kernel_for_circles Algebraic_kernel_for_spheres '
|
|
- PACKAGE='Alpha_shapes_2 Alpha_shapes_3 Apollonius_graph_2 '
|
|
- PACKAGE='Arithmetic_kernel Arrangement_on_surface_2 Barycentric_coordinates_2 '
|
|
- PACKAGE='BGL Boolean_set_operations_2 Bounding_volumes '
|
|
- PACKAGE='Box_intersection_d Cartesian_kernel CGAL_Core '
|
|
- PACKAGE='CGAL_ImageIO CGAL_ipelets Circular_kernel_2 '
|
|
- PACKAGE='Circular_kernel_3 Circulator Classification '
|
|
- PACKAGE='Combinatorial_map Cone_spanners_2 Convex_decomposition_3 '
|
|
- PACKAGE='Convex_hull_2 Convex_hull_3 Convex_hull_d '
|
|
- PACKAGE='Distance_2 Distance_3 Envelope_2 '
|
|
- PACKAGE='Envelope_3 Filtered_kernel Generalized_map '
|
|
- PACKAGE='Generator Geomview GraphicsView '
|
|
- PACKAGE='HalfedgeDS Hash_map Homogeneous_kernel '
|
|
- PACKAGE='Inscribed_areas Installation Interpolation '
|
|
- PACKAGE='Intersections_2 Intersections_3 Interval_skip_list '
|
|
- PACKAGE='Interval_support Inventor Jet_fitting_3 '
|
|
- PACKAGE='Kernel_23 Kernel_d LEDA '
|
|
- PACKAGE='Linear_cell_complex MacOSX Maintenance '
|
|
- PACKAGE='Matrix_search Mesh_2 Mesh_3 '
|
|
- PACKAGE='Mesher_level Minkowski_sum_2 Minkowski_sum_3 '
|
|
- PACKAGE='Modifier Modular_arithmetic Nef_2 '
|
|
- PACKAGE='Nef_3 Nef_S2 NewKernel_d '
|
|
- PACKAGE='Number_types OpenNL Operations_on_polyhedra '
|
|
- PACKAGE='Optimal_transportation_reconstruction_2 Optimisation_basic Partition_2 '
|
|
- PACKAGE='Periodic_2_triangulation_2 Periodic_3_triangulation_3 Point_set_2 '
|
|
- PACKAGE='Point_set_3 Point_set_processing_3 Point_set_shape_detection_3 '
|
|
- PACKAGE='Poisson_surface_reconstruction_3 Polygon Polygon_mesh_processing '
|
|
- PACKAGE='Polyhedron Polyhedron_IO Polyline_simplification_2 '
|
|
- PACKAGE='Polynomial Polytope_distance_d Principal_component_analysis '
|
|
- PACKAGE='Principal_component_analysis_LGPL Profiling_tools Property_map '
|
|
- PACKAGE='QP_solver Random_numbers Ridges_3 '
|
|
- PACKAGE='Scale_space_reconstruction_3 Scripts SearchStructures '
|
|
- PACKAGE='Segment_Delaunay_graph_2 Segment_Delaunay_graph_Linf_2 Set_movable_separability_2 '
|
|
- PACKAGE='Skin_surface_3 Snap_rounding_2 Solver_interface '
|
|
- PACKAGE='Spatial_searching Spatial_sorting STL_Extension '
|
|
- PACKAGE='Straight_skeleton_2 Stream_lines_2 Stream_support '
|
|
- PACKAGE='Subdivision_method_3 Surface_mesh Surface_mesh_deformation '
|
|
- PACKAGE='Surface_mesher Surface_mesh_parameterization Surface_mesh_segmentation '
|
|
- PACKAGE='Surface_mesh_shortest_path Surface_mesh_simplification Surface_mesh_skeletonization '
|
|
- PACKAGE='Surface_sweep_2 TDS_2 TDS_3 '
|
|
- PACKAGE='Testsuite Three Triangulation '
|
|
- PACKAGE='Triangulation_2 Triangulation_3 Union_find '
|
|
- PACKAGE='Visibility_2 Voronoi_diagram_2 wininst '
|
|
compiler: clang-3.6
|
|
install:
|
|
- echo "$PWD"
|
|
- if [ -n "$TRAVIS_PULL_REQUEST" ] && [ "$PACKAGE" != CHECK ]; then DO_IGNORE=FALSE; for ARG in $(echo "$PACKAGE");do if [ "$ARG" = "Maintenance" ]; then continue; fi; . $PWD/.travis/test_package.sh "$PWD" "$ARG"; echo "DO_IGNORE is $DO_IGNORE"; if [ "$DO_IGNORE" = "FALSE" ]; then break; fi; done; if [ "$DO_IGNORE" = "TRUE" ]; then travis_terminate 0; fi;fi
|
|
- bash .travis/install.sh
|
|
- export CXX=clang++-3.6 CC=clang-3.6;
|
|
before_script:
|
|
- wget -O doxygen_exe https://cgal.geometryfactory.com/~mgimeno/doxygen_exe
|
|
- sudo mv doxygen_exe /usr/bin/doxygen
|
|
- sudo chmod +x /usr/bin/doxygen
|
|
- mkdir -p build
|
|
- cd build
|
|
- cmake -DCMAKE_CXX_FLAGS="-std=c++11" -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" -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
|
|
- make
|
|
- sudo make install &>/dev/null
|
|
- cd ..
|
|
script:
|
|
- cd ./.travis
|
|
- bash ./build_package.sh $PACKAGE
|
|
notifications:
|
|
email:
|
|
on_success: change # default: always
|
|
on_failure: always # default: always
|
|
|