fix a couple of coveralls vars

pull/436/head
bradh352 3 years ago
parent 3e46a8c7f2
commit 80e9566165
  1. 2
      .cirrus.yml
  2. 5
      ci/covupload.sh

@ -90,7 +90,7 @@ task:
CI_NAME: "cirrus-ci"
CI_BUILD_NUMBER: "${CIRRUS_BUILD_ID}"
CI_BUILD_URL: "${CIRRUS_REPO_CLONE_URL}"
CI_BRANCH: "${CIRRUS_BASE_BRANCH}"
CI_BRANCH: "${CIRRUS_BRANCH}"
CI_PULL_REQUEST: "${CIRRUS_PR}"
CONFIG_OPTS: "--enable-debug --disable-shared --enable-code-coverage --enable-tests"

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
if [ "$BUILD_TYPE" = "coverage" ]; then
echo "CI_NAME=${CI_NAME}"
@ -6,6 +6,7 @@ if [ "$BUILD_TYPE" = "coverage" ]; then
echo "CI_BUILD_URL=${CI_BUILD_URL}"
echo "CI_BRANCH=${CI_BRANCH}"
echo "CI_PULL_REQUEST=${CI_PULL_REQUEST}"
export PATH="$PATH:~/.local/bin"
PATH="${PATH}:/root/.local/bin:~/.local/bin"
export PATH
coveralls --gcov-options '\-lp'
fi

Loading…
Cancel
Save