Skip to content

Commit 00b6a7f

Browse files
authored
Merge branch 'master' into ph-new-lts-version
2 parents 7e3e5bd + f14213c commit 00b6a7f

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

user/job-lifecycle.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Travis CI provides a default build environment and a default set of phases for e
99

1010
Keep reading to see how you can customize any phase in this process, via your `.travis.yml`.
1111

12-
## The job lifecycle
12+
## The Job Lifecycle
1313

1414
A job on Travis CI is made up of two main parts:
1515

@@ -36,7 +36,7 @@ The complete job lifecycle, including three optional deployment phases and after
3636
1. OPTIONAL `after_deploy`
3737
1. `after_script`
3838

39-
A *build* can be composed of many jobs.
39+
> A *build* can be composed of many jobs.
4040
4141
## Customizing the Installation Phase
4242

@@ -50,7 +50,7 @@ install: ./install-dependencies.sh
5050
```
5151
{: data-file=".travis.yml"}
5252
53-
> When using custom scripts they should be executable (for example, using `chmod +x`) and contain a valid shebang line such as `/usr/bin/env sh`, `/usr/bin/env ruby`, or `/usr/bin/env python`.
53+
> When using custom scripts, they should be executable (for example, using `chmod +x`) and contain a valid shebang line such as `/usr/bin/env sh`, `/usr/bin/env ruby`, or `/usr/bin/env python`.
5454

5555
You can also provide multiple steps, for instance to install both ruby and node dependencies:
5656

@@ -94,7 +94,7 @@ script:
9494
```
9595
{: data-file=".travis.yml"}
9696

97-
When one of the build commands returns a non-zero exit code, the Travis CI build runs the subsequent commands as well, and accumulates the build result.
97+
When one of the build commands returns a non-zero exit code, the Travis CI build runs the subsequent commands as well and accumulates the build result.
9898

9999
In the example above, if `bundle exec rake build` returns an exit code of 1, the following command `bundle exec rake builddoc` is still run, but the build will result in a failure.
100100

@@ -134,7 +134,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
134134
fi
135135
```
136136

137-
Note the `set -ev` at the top. The `-e` flag causes the script to exit as soon as one command returns a non-zero exit code. This can be handy if you want whatever script you have to exit early. It also helps in complex installation scripts where one failed command wouldn't otherwise cause the installation to fail.
137+
> Note the `set -ev` at the top. The `-e` flag causes the script to exit as soon as one command returns a non-zero exit code. This can be handy if you want whatever script you have to exit early. It also helps in complex installation scripts where one failed command wouldn't otherwise cause the installation to fail.
138138

139139
The `-v` flag makes the shell print all lines in the script before executing them, which helps identify which steps failed.
140140

@@ -157,7 +157,7 @@ When overriding these steps, do not use `exit` shell built-in command.
157157
Doing so will run the risk of terminating the build process without giving Travis a chance to
158158
perform subsequent tasks.
159159

160-
Using `exit` inside a custom script which will be invoked from during a build is fine.
160+
> Using `exit` inside a custom script which will be invoked from during a build is fine.
161161

162162

163163
## Breaking the Build
@@ -175,7 +175,7 @@ However, if one of these stages times out, the build is marked as **failed**.
175175

176176
An optional phase in the job lifecycle is deployment.
177177
This phase is defined by using one of our continuous deployment providers to deploy code to Heroku, Amazon, or a different supported platform.
178-
The deploy steps are skipped if the build is broken.
178+
The deploy steps are skipped, if the build is broken.
179179

180180
When deploying files to a provider, prevent Travis CI from resetting your
181181
working directory and deleting all changes made during the build ( `git stash
@@ -189,6 +189,8 @@ deploy:
189189

190190
You can run commands before a deploy by using the `before_deploy` phase. A non-zero exit code in this phase will mark the build as **errored**.
191191

192-
If there are any steps you'd like to run after the deployment, you can use the `after_deploy` phase. Note that `after_deploy` does not affect the status of the build.
192+
If there are any steps you'd like to run after the deployment, you can use the `after_deploy` phase.
193193

194-
Note that `before_deploy` and `after_deploy` are run before and after every deploy provider, so will run multiple times if there are multiple providers.
194+
> Note that `after_deploy` does not affect the status of the build.
195+
196+
> Note that `before_deploy` and `after_deploy` are run before and after every deploy provider, so they will run multiple times, if there are multiple providers.

user/languages/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ By default, we download and install the latest stable Rust release at the start
3636
of the build (thanks to `rustup`). The [`minimal` profile][profiles] is used
3737
and includes the following language tools `cargo`, `rustc`, and `rustup`.
3838

39-
[profiles]: https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html#profiles
39+
[profiles]: https://github.com/rust-lang/rustup.rs#profiles
4040

4141
If you want additional language tools like `rustfmt` or `clippy`, please
4242
install them in `before_install`.

user/speeding-up-the-build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ file](https://github.com/rails/rails/blob/master/.travis.yml) for more examples.
7575
7676
Parallelizing the test suite on one virtual machine depends on the language and test runner:
7777
78-
- For Ruby and RSpec use the [parallel_tests](https://github.com/grosser/parallel_tests)
78+
- For Ruby and RSpec use the [parallel_tests](https://github.com/grosser/parallel_tests) gem.
7979
- For Java, use the built-in feature [to run tests in parallel
8080
using JUnit](http://incodewetrustinc.blogspot.com/2009/07/run-your-junit-tests-in-parallel-with.html).
8181

user/travis-ci-for-private.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ continuous integration solution for private repositories.
1414

1515
Yes, of course! No need to put in your credit card details, the trial starts whenever you trigger your first build on [Travis CI for private repositories](https://travis-ci.com). It includes 100 trial builds for free and 2-concurrent-jobs.
1616

17-
When you're ready to start using Travis CI, head over to the [billing page](https://billing.travis-ci.com/) to add your billing details and end your trial.
17+
When you're ready to start using Travis CI, head over to the [billing page](https://travis-ci.com/account/subscription) to add your billing details and end your trial.
1818

1919
## Can I use pull request testing on Travis CI for private repositories?
2020

@@ -35,12 +35,12 @@ To keep the access rights up to date, we sync every user account approximately o
3535

3636
## Who has access to the billing details?
3737

38-
Access rights to the Travis CI [billing page](https://billing.travis-ci.com) can be one of the following:
38+
Access rights to the Travis CI [billing page](https://travis-ci.com/account/subscription) can be one of the following:
3939

4040
- **Open (default)**: anyone with admin access to at least one private repository belonging to the organization in GitHub has access to the billing information in Travis CI.
4141
- **Restricted**: access is limited to members of the organization having the _owner_ and/or _billing manager_ permissions in GitHub (see their [documentation about the _Permission levels for an organization_](https://help.github.com/articles/permission-levels-for-an-organization/)).
4242

43-
You can change the access rights of an organization to **Restricted** (or back to **Open**) under the organization's tab on [our billing page](https://billing.travis-ci.com) as shown below:
43+
You can change the access rights of an organization to **Restricted** (or back to **Open**) under the organization's tab on [our billing page](https://travis-ci.com/account/subscription) as shown below:
4444

4545
![Billing access toggle](/images/admin_only_toggle.png "Billing access toggle")
4646

0 commit comments

Comments
 (0)