File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ install:
60
60
script :
61
61
- bash ${TRAVIS_BUILD_DIR}/tests/ci/run-tests.sh
62
62
63
+ after_failure :
64
+ - bash ${TRAVIS_BUILD_DIR}/tests/ci/after-failure.sh
63
65
addons :
64
66
apt :
65
67
packages :
Original file line number Diff line number Diff line change 1
1
* .sh
2
2
! ci /run-tests.sh
3
+ ! ci /after-failure.sh
3
4
* .out
4
5
* .exp
5
6
* .diff
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ #
3
+ # Zephir Parser
4
+ #
5
+ # Copyright (c) 2013-present Zephir Team and contributors
6
+ #
7
+ # This source file is subject the MIT license, that is bundled with
8
+ # this package in the file LICENSE, and is available through the
9
+ # world-wide-web at the following url:
10
+ # http://zephir-lang.com/license.html
11
+ #
12
+ # If you did not receive a copy of the MIT license and are unable
13
+ # to obtain it through the world-wide-web, please send a note to
14
+ # [email protected] so we can mail you a copy immediately.
15
+
16
+ # The -e flag causes the script to exit as soon as one command returns a non-zero exit code.
17
+ # This can be handy if you want whatever script you have to exit early.
18
+ # It also helps in complex installation scripts where one failed command wouldn’t otherwise cause the installation to fail.
19
+ set -ev
20
+
21
+ if [ -f " ${TRAVIS_BUILD_DIR} /configure.log" ]; then
22
+ cat " ${TRAVIS_BUILD_DIR} /configure.log"
23
+ fi
24
+
25
+ ls -al ${TRAVIS_BUILD_DIR}
You can’t perform that action at this time.
0 commit comments