]> granicus.if.org Git - postgis/commitdiff
Travis: Avoid failing both if codecov download or upload fail
authorRaúl Marín Rodríguez <rmrodriguez@carto.com>
Thu, 20 Jun 2019 16:28:41 +0000 (16:28 +0000)
committerRaúl Marín Rodríguez <rmrodriguez@carto.com>
Thu, 20 Jun 2019 16:28:41 +0000 (16:28 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17553 b70326c6-7e19-0410-871a-916f4a2858ee

ci/travis/run_coverage.sh
ci/travis/run_garden.sh
ci/travis/run_nowagyu.sh

index 58f169fcbebdc1b3efdade46bc97d2bdebaded1a..70b473cd2aeff7b787a33612e3753d14afbf5047 100644 (file)
@@ -9,5 +9,4 @@ LDFLAGS_COV="--coverage"
 ./autogen.sh
 ./configure CFLAGS="${CFLAGS_COV}" LDFLAGS="${LDFLAGS_COV}" --enable-debug
 make -j check
-curl -S -f https://codecov.io/bash -o .github/codecov.bash || echo "Coverage report failed"
-bash .github/codecov.bash || echo "Coverage report failed"
+(curl -S -f https://codecov.io/bash -o .github/codecov.bash && bash .github/codecov.bash) || echo "Coverage report failed"
index 630db78f8a71c6c5e235ce2d54c58a0f7c98d3c2..33b5627b4271e02800db753753933191101ce500 100644 (file)
@@ -10,5 +10,4 @@ LDFLAGS_STD="--coverage"
 ./configure CFLAGS="${CFLAGS_STD}" LDFLAGS="${LDFLAGS_STD}" --enable-debug
 make -j
 bash ./ci/travis/logbt -- make garden
-curl -S -f https://codecov.io/bash -o .github/codecov.bash
-bash .github/codecov.bash || echo "Coverage report failed"
+(curl -S -f https://codecov.io/bash -o .github/codecov.bash && bash .github/codecov.bash) || echo "Coverage report failed"
index 311a2144460a1aa661a7f77330d420c1c3e415fc..830cfb5693cc173193c864e4d21500a7eb0cb450 100644 (file)
@@ -14,5 +14,4 @@ LDFLAGS="--coverage"
 # Standard build
 ./configure --without-wagyu CFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 bash ./ci/travis/logbt -- make -j check RUNTESTFLAGS=--verbose
-curl -S -f https://codecov.io/bash -o .github/codecov.bash
-bash .github/codecov.bash || echo "Coverage report failed"
+(curl -S -f https://codecov.io/bash -o .github/codecov.bash && bash .github/codecov.bash) || echo "Coverage report failed"