File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ version: 2
22jobs :
33 build :
44 docker :
5- - image : dbwebb/courserepo:cli
5+ - image : dbwebb/courserepo
66
7- working_directory : ~/arepo
7+ working_directory : ~/repo
88
99 steps :
1010 - checkout
2323 key : v1-dependencies-{{ checksum "package.json" }}
2424
2525 # run tests!
26- - run : make check test
26+ - run : make check test
Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ function header {
105105function doLog {
106106 if (( $1 )) ; then
107107 echo " [-] $2
108- ===========================================================" >> " $LOG "
108+ ===========================================================" | tee -a " $LOG "
109109 else
110110 echo " [+] $2
111- ===========================================================" >> " $LOG "
111+ ===========================================================" | tee -a " $LOG "
112112 fi
113113
114114 exit $1
@@ -159,14 +159,7 @@ done
159159
160160# Adding summary to log-file
161161printf " $( header " Test summary" )
162- $summary \n" >> " $LOG "
162+ $summary \n" | tee -a " $LOG "
163163
164- # Printing the output
165- RESULTS=$( cat $LOG )
166- printf "
167- $( header " LOG" )
168- "
169- printf ' %s\n' " ${RESULTS}
170- --------------------------------------------
171- Saved a log of the test output: less -R '$LOG '\n
172- "
164+ printf " --------------------------------------------
165+ Saved a log of the test output: less -R '$LOG '\n" | tee -a " $LOG "
You can’t perform that action at this time.
0 commit comments