Skip to content

Commit

Permalink
using a single list to exclude tests on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 21, 2017
1 parent 896e3c7 commit 6ce8d94
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
8 changes: 8 additions & 0 deletions ci/travis/linux/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# black list
PyQgsJSONUtils
PyQgsLocalServer
PyQgsPalLabelingServer
Expand All @@ -6,3 +7,10 @@ qgis_composerutils
ProcessingGrass7AlgorithmsImageryTest
ProcessingGrass7AlgorithmsRasterTest
PyQgsDBManagerGpkg

# flacky
qgis_filedownloader
qgis_openstreetmaptest
qgis_wcsprovidertest
PyQgsWFSProviderGUI
qgis_ziplayertest
2 changes: 1 addition & 1 deletion ci/travis/linux/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ if [ "$CACHE_WARMING" = true ] ; then
xvfb-run ctest -V -R NOTESTS -S ./qgis-test-travis.ctest --output-on-failure
false
else
xvfb-run ctest -V -E "qgis_filedownloader|qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsWFSProviderGUI|qgis_ziplayertest|$(cat ${DIR}/blacklist.txt | paste -sd '|' -)" -S ./qgis-test-travis.ctest --output-on-failure
xvfb-run ctest -V -E "$(cat ${DIR}/blacklist.txt | sed -r '/^(#.*?)?$/d' | paste -sd '|' -)" -S ./qgis-test-travis.ctest --output-on-failure
fi
9 changes: 9 additions & 0 deletions ci/travis/osx/blacklist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
qgis_openstreetmaptest
qgis_wcsprovidertest
PyQgsServer
ProcessingGdalAlgorithmsTest
PyQgsOfflineEditingWFS
ProcessingGrass7AlgorithmsImageryTest
ProcessingGrass7AlgorithmsRasterTest
qgis_composerhtmltest
PyQgsOfflineEditingWFS
3 changes: 1 addition & 2 deletions ci/travis/osx/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ echo $PATH

export PATH=/usr/bin:${PATH}

ctest -V -E 'qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsServer|ProcessingGdalAlgorithmsTest|PyQgsOfflineEditingWFS|ProcessingGrass7AlgorithmsImageryTest|ProcessingGrass7AlgorithmsRasterTest|qgis_composerhtmltest|PyQgsOfflineEditingWFS' -S ./qgis-test-travis.ctest --output-on-failure

ctest -V -E "$(cat ${DIR}/blacklist.txt | sed -r '/^(#.*?)?$/d' | paste -sd '|' -)" -S ./qgis-test-travis.ctest --output-on-failure

0 comments on commit 6ce8d94

Please sign in to comment.