-
Notifications
You must be signed in to change notification settings - Fork 24
/
travis-doc
31 lines (21 loc) · 1.11 KB
/
travis-doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
http://docs.travis-ci.com/user/customizing-the-build/
broken <- (errored|failed)
errored <- infrastructure
failed <- tests
canceled <- user abort
-----------------------------------------------
Breaking the Build #
If any of the commands in the first four stages returns a non-zero exit code, Travis CI considers the build to be broken.
When any of the steps in the before_install, install or before_script stages fails with a non-zero exit code, the build is marked as errored.
When any of the steps in the script stage fails with a non-zero exit code, the build is marked as failed.
Note that the script section has different semantics to the other steps. When a step defined in script fails, the build doesn’t end right away, it continues to run the remaining steps before it fails the build.
Currently, neither the after_success nor after_failure have any influence on the build result. We have plans to change this behaviour
before_install -> errored
install -> errored
before_script -> errored
script -> failed
after_success or after_failure
after_script
OPTIONAL before_deploy
OPTIONAL deploy
OPTIONAL after_deploy