File tree Expand file tree Collapse file tree 3 files changed +4
-107
lines changed Expand file tree Collapse file tree 3 files changed +4
-107
lines changed Original file line number Diff line number Diff line change 1717 (>&1 printf " >>> START (%d)\\ n%s\\ n<<< END (%d)\\ n\\ n" $count " $( cat " $file " ) " $count )
1818done < <( find ./tests -type f \( -name ' *.out' -o -name ' *.mem' \) -print0)
1919
20- # for some reason Ubuntu 18.04 on Travis CI doesn't install gdb
21- function install_gdb() {
22- if [ " ${CI} " = " true" ] && [ " $( command -v gdb 2> /dev/null) " = " " ]
23- then
24- (>&1 echo " Install gdb..." )
25- sudo apt-get install --no-install-recommends --quiet --assume-yes gdb 1> /dev/null
26- fi
27- }
28-
2920for i in /tmp/core.php.* ; do
30- install_gdb
3121 (>&1 printf " Found core dump file: %s\\ n\\ n" " $i " )
3222 gdb -q " $( phpenv which php) " " $i " << EOF
3323set pagination 0
Original file line number Diff line number Diff line change 6161 if : runner.os == 'Linux'
6262 run : |
6363 sudo apt-get update --quiet --yes 1>/dev/null
64- sudo apt-get install --no-install-recommends --quiet --yes lcov
64+ sudo apt-get install --no-install-recommends --quiet --yes lcov gdb
6565
6666 - name : Setup Prerequisites (macOS)
6767 if : runner.os == 'macOS'
8080 echo "::set-env name=RE2C_VERSION::${{ matrix.re2c }}"
8181 echo "::set-env name=PATH::$PATH:$HOME/bin:$(brew --prefix lcov)/bin"
8282 echo "::set-env name=MAKEFLAGS::-j$(getconf _NPROCESSORS_ONLN)"
83+ echo "::set-env name=CI::true"
8384
8485 - name : Setup Core Dump (Linux)
8586 if : runner.os == 'Linux'
@@ -108,12 +109,8 @@ jobs:
108109 run : make test NO_INTERACTION=1 REPORT_EXIT_STATUS=1
109110
110111 - name : Print failures
111- if : failure()
112- run : |
113- re2c --version
114- php -v
115- php -m
116- .ci/after-failure.sh
112+ if : failure() && runner.os == 'Linux'
113+ run : .ci/after-failure.sh
117114
118115 - name : Capture coverage data
119116 if : success() && matrix.ccov == 'ON'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments