Use LC_COLLATE to unify the order of the packages list.

This commit is contained in:
Maxime Gimeno 2019-06-06 16:00:19 +02:00
parent e4993273c5
commit 39d81a8d68
3 changed files with 24 additions and 20 deletions

View File

@ -9,10 +9,10 @@ env:
- PACKAGE='AABB_tree Advancing_front_surface_reconstruction Algebraic_foundations ' - PACKAGE='AABB_tree Advancing_front_surface_reconstruction Algebraic_foundations '
- PACKAGE='Algebraic_kernel_d Algebraic_kernel_for_circles Algebraic_kernel_for_spheres ' - PACKAGE='Algebraic_kernel_d Algebraic_kernel_for_circles Algebraic_kernel_for_spheres '
- PACKAGE='Alpha_shapes_2 Alpha_shapes_3 Apollonius_graph_2 ' - PACKAGE='Alpha_shapes_2 Alpha_shapes_3 Apollonius_graph_2 '
- PACKAGE='Arithmetic_kernel Arrangement_on_surface_2 Barycentric_coordinates_2 ' - PACKAGE='Arithmetic_kernel Arrangement_on_surface_2 BGL '
- PACKAGE='BGL Boolean_set_operations_2 Bounding_volumes ' - PACKAGE='Barycentric_coordinates_2 Boolean_set_operations_2 Bounding_volumes '
- PACKAGE='Box_intersection_d Cartesian_kernel CGAL_Core ' - PACKAGE='Box_intersection_d CGAL_Core CGAL_ImageIO '
- PACKAGE='CGAL_ImageIO CGAL_ipelets Circular_kernel_2 ' - PACKAGE='CGAL_ipelets Cartesian_kernel Circular_kernel_2 '
- PACKAGE='Circular_kernel_3 Circulator Classification ' - PACKAGE='Circular_kernel_3 Circulator Classification '
- PACKAGE='Combinatorial_map Cone_spanners_2 Convex_decomposition_3 ' - PACKAGE='Combinatorial_map Cone_spanners_2 Convex_decomposition_3 '
- PACKAGE='Convex_hull_2 Convex_hull_3 Convex_hull_d ' - PACKAGE='Convex_hull_2 Convex_hull_3 Convex_hull_d '
@ -38,16 +38,16 @@ env:
- PACKAGE='Polyhedron_IO Polyline_simplification_2 Polynomial ' - PACKAGE='Polyhedron_IO Polyline_simplification_2 Polynomial '
- PACKAGE='Polytope_distance_d Principal_component_analysis Principal_component_analysis_LGPL ' - PACKAGE='Polytope_distance_d Principal_component_analysis Principal_component_analysis_LGPL '
- PACKAGE='Profiling_tools Property_map QP_solver ' - PACKAGE='Profiling_tools Property_map QP_solver '
- PACKAGE='Random_numbers Ridges_3 Scale_space_reconstruction_3 ' - PACKAGE='Random_numbers Ridges_3 STL_Extension '
- PACKAGE='Scripts SearchStructures Segment_Delaunay_graph_2 ' - PACKAGE='Scale_space_reconstruction_3 Scripts SearchStructures '
- PACKAGE='Segment_Delaunay_graph_Linf_2 Set_movable_separability_2 Shape_detection ' - PACKAGE='Segment_Delaunay_graph_2 Segment_Delaunay_graph_Linf_2 Set_movable_separability_2 '
- PACKAGE='Skin_surface_3 Snap_rounding_2 Solver_interface ' - PACKAGE='Shape_detection Skin_surface_3 Snap_rounding_2 '
- PACKAGE='Spatial_searching Spatial_sorting STL_Extension ' - PACKAGE='Solver_interface Spatial_searching Spatial_sorting '
- PACKAGE='Straight_skeleton_2 Stream_lines_2 Stream_support ' - PACKAGE='Straight_skeleton_2 Stream_lines_2 Stream_support '
- PACKAGE='Subdivision_method_3 Surface_mesh Surface_mesh_approximation ' - PACKAGE='Subdivision_method_3 Surface_mesh Surface_mesh_approximation '
- PACKAGE='Surface_mesh_deformation Surface_mesher Surface_mesh_parameterization ' - PACKAGE='Surface_mesh_deformation Surface_mesh_parameterization Surface_mesh_segmentation '
- PACKAGE='Surface_mesh_segmentation Surface_mesh_shortest_path Surface_mesh_simplification ' - PACKAGE='Surface_mesh_shortest_path Surface_mesh_simplification Surface_mesh_skeletonization '
- PACKAGE='Surface_mesh_skeletonization Surface_sweep_2 TDS_2 ' - PACKAGE='Surface_mesher Surface_sweep_2 TDS_2 '
- PACKAGE='TDS_3 Testsuite Three ' - PACKAGE='TDS_3 Testsuite Three '
- PACKAGE='Triangulation Triangulation_2 Triangulation_3 ' - PACKAGE='Triangulation Triangulation_2 Triangulation_3 '
- PACKAGE='Union_find Visibility_2 Voronoi_diagram_2 ' - PACKAGE='Union_find Visibility_2 Voronoi_diagram_2 '

View File

@ -21,16 +21,20 @@ for f in *
do do
if [ -d "$f/package_info/$f" ] if [ -d "$f/package_info/$f" ]
then then
PACKAGES[$INDEX]+="$f " echo "$f " >> ./tmp.txt
fi
done
LC_COLLATE=C sort ./tmp.txt > ./.travis/packages.txt
rm ./tmp.txt
while read p; do
PACKAGES[$INDEX]+="$p "
i=$[i+1] i=$[i+1]
if [ $i = 3 ] if [ $i = 3 ]
then then
i=0 i=0
INDEX=$[INDEX+1] INDEX=$[INDEX+1]
fi fi
echo "$f " >> ./.travis/packages.txt done <./.travis/packages.txt
fi
done
if [ -f ".travis.yml" ] if [ -f ".travis.yml" ]
then then
#copy the current .travis.yml for later check #copy the current .travis.yml for later check

View File

@ -9,15 +9,15 @@ Alpha_shapes_3
Apollonius_graph_2 Apollonius_graph_2
Arithmetic_kernel Arithmetic_kernel
Arrangement_on_surface_2 Arrangement_on_surface_2
Barycentric_coordinates_2
BGL BGL
Barycentric_coordinates_2
Boolean_set_operations_2 Boolean_set_operations_2
Bounding_volumes Bounding_volumes
Box_intersection_d Box_intersection_d
Cartesian_kernel
CGAL_Core CGAL_Core
CGAL_ImageIO CGAL_ImageIO
CGAL_ipelets CGAL_ipelets
Cartesian_kernel
Circular_kernel_2 Circular_kernel_2
Circular_kernel_3 Circular_kernel_3
Circulator Circulator
@ -96,6 +96,7 @@ Property_map
QP_solver QP_solver
Random_numbers Random_numbers
Ridges_3 Ridges_3
STL_Extension
Scale_space_reconstruction_3 Scale_space_reconstruction_3
Scripts Scripts
SearchStructures SearchStructures
@ -108,7 +109,6 @@ Snap_rounding_2
Solver_interface Solver_interface
Spatial_searching Spatial_searching
Spatial_sorting Spatial_sorting
STL_Extension
Straight_skeleton_2 Straight_skeleton_2
Stream_lines_2 Stream_lines_2
Stream_support Stream_support
@ -116,12 +116,12 @@ Subdivision_method_3
Surface_mesh Surface_mesh
Surface_mesh_approximation Surface_mesh_approximation
Surface_mesh_deformation Surface_mesh_deformation
Surface_mesher
Surface_mesh_parameterization Surface_mesh_parameterization
Surface_mesh_segmentation Surface_mesh_segmentation
Surface_mesh_shortest_path Surface_mesh_shortest_path
Surface_mesh_simplification Surface_mesh_simplification
Surface_mesh_skeletonization Surface_mesh_skeletonization
Surface_mesher
Surface_sweep_2 Surface_sweep_2
TDS_2 TDS_2
TDS_3 TDS_3