1#!/bin/bash
2
3UPLOAD_DIR=coverity
4UPLOAD_HOST=openscad@files.openscad.org
5UPLOAD_FILENAME="coverity-${TRAVIS_BUILD_NUMBER}-scm-log.txt"
6COVERITY_LOG=/home/travis/build/openscad/openscad/cov-int/scm_log.txt
7
8if [ -f "$COVERITY_LOG" ]; then
9	scp "${COVERITY_LOG}" "${UPLOAD_HOST}:${UPLOAD_DIR}/${UPLOAD_FILENAME}"
10fi
11