coverage.sh 235 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -o errexit -o pipefail
  3. log() {
  4. echo "$*" >&2
  5. }
  6. SOLIDITY_COVERAGE=true scripts/test.sh || log "Test run failed"
  7. if [ "$CI" = true ]; then
  8. curl -s https://codecov.io/bash | bash -s -- -C "$CIRCLE_SHA1"
  9. fi