File: coverity.sh

package info (click to toggle)
openscad 2021.01-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,972 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (10 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

UPLOAD_DIR=coverity
UPLOAD_HOST=openscad@files.openscad.org
UPLOAD_FILENAME="coverity-${TRAVIS_BUILD_NUMBER}-scm-log.txt"
COVERITY_LOG=/home/travis/build/openscad/openscad/cov-int/scm_log.txt

if [ -f "$COVERITY_LOG" ]; then
	scp "${COVERITY_LOG}" "${UPLOAD_HOST}:${UPLOAD_DIR}/${UPLOAD_FILENAME}"
fi