OpenFPGA/.travis/after_failure.sh

16 lines
506 B
Bash
Raw Normal View History

2019-04-10 02:24:37 -05:00
#!/bin/bash
source .travis/common.sh
set -e
# Close the after_success.1 fold travis has created already.
travis_time_finish
travis_fold end after_failure.1
start_section "failure.tail" "${RED}Failure output...${NC}"
tail -n 1000 output.log
2019-11-02 18:51:30 -05:00
echo "Failed uploading files to LNIS Server"
scp -qCr $TRAVIS_BUILD_DIR/openfpga_flow/tasks/ u1249762@lab1-1.eng.utah.edu:/var/tmp/travis_bc/$TRAVIS_JOB_ID/
scp output.log u1249762@lab1-1.eng.utah.edu:/var/tmp/travis_bc/$TRAVIS_JOB_ID/
2019-04-10 02:24:37 -05:00
end_section "failure.tail"