Skip to content

Commit 18af1d7

Browse files
committed
Merge pull request #3 from travis-ci/hh-remove-some-words-to-avoid
Remove “words to avoid in technical writing”
2 parents f60fbdb + c100885 commit 18af1d7

18 files changed

+55
-61
lines changed

user/build-configuration.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ If your project uses non-standard dependency management tools, you can override
115115

116116
As with other scripts, `install` command can be anything but has to exit with the 0 status in order to be considered successful.
117117

118-
If you'd like to skip the `install` stage entirely, just set it to `true` and nothing will be run.
118+
If you'd like to skip the `install` stage entirely, set it to `true` and nothing will be run.
119119

120120
install: true
121121

@@ -184,7 +184,7 @@ Currently Clojure projects can be tested against Oracle JDK 7, OpenJDK 7 and Ope
184184
* In Leiningen 1.x, via [lein-multi plugin](https://github.com/maravillas/lein-multi)
185185
* In upcoming Leiningen 2.0, via Leiningen Profiles
186186

187-
If you are interested in testing against multiple Clojure releases, just use these Leiningen features and it will work without special support on the Travis side.
187+
If you are interested in testing against multiple Clojure releases, you can use these Leiningen features and it will work without special support on the Travis side.
188188

189189
Learn more in our [Clojure guide](/user/languages/clojure/).
190190

@@ -455,7 +455,7 @@ Such configuration will generate matrix with 2 following env rows:
455455

456456
### Secure environment variables
457457

458-
In the last example I used a token as one of the environment variables. However, it's not very wise to put your private tokens in the publicly available file. Travis supports environment variables encryption to handle this case and allows you to keep configuration public, while keeping parts of it private. Example configuration with secure environment variables looks something like:
458+
In the previous example, one of the environment variables had a token in it. Since putting private tokens in a file in cleartext isn't always the best idea, Travis supports encryption of environment variables. This allows you to keep parts of the configuration private. A configuration with secure environment variables might look something like this:
459459

460460
env:
461461
global:

user/caching.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,21 @@ Currently Pull Requests will use the cache of the branch they are supposed to be
101101

102102
### Clearing Caches
103103

104-
Sometimes you ruin your cache by storing bad data in one of the cached directories. Currently it is not possible to clear the cache via the web interface. However, you can use our [command line client](https://github.com/travis-ci/travis#readme) to [clear the cache](https://github.com/travis-ci/travis#cache):
104+
Sometimes you ruin your cache by storing bad data in one of the cached directories. Currently it is not possible to clear the cache via the web interface, but you can use our [command line client](https://github.com/travis-ci/travis#readme) to [clear the cache](https://github.com/travis-ci/travis#cache):
105105

106106
<figure>
107107
[ ![travis cache --delete](/images/cli-cache.png) ](/images/cli-cache.png)
108108
<figcaption>Running <tt>travis cache --delete</tt> inside the project directory.</figcaption>
109109
</figure>
110110

111-
Of course there is a [corresponding API](https://api.travis-ci.com/#/repos/:owner_name/:name/caches).
111+
There is also a [corresponding API](https://api.travis-ci.com/#/repos/:owner_name/:name/caches) for clearing the cache.
112112

113113
## Caching Ubuntu packages
114114

115115
A network-local APT cache is available, allowing for more reliable download
116116
speeds compared to the Ubuntu mirrors.
117117

118-
Simply enable APT caching in your .travis.yml:
118+
To enable APT caching, add the following to your .travis.yml:
119119

120120
cache: apt
121121

user/database-setup.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ This guide covers data stores and other services (e.g. RabbitMQ) offered in the
2626
* Kestrel
2727
* SQLite3
2828

29-
All the aforementioned services use mostly stock default settings. However, when it makes sense, new users are added and security settings are relaxed (because for continuous integration ease of use is more important): one example of such adaptation is PostgreSQL that has strict default access settings.
29+
All of these data stores use the default settings, with one exception: When it
30+
makes sense, new users are added and the security settings are relaxed for ease
31+
of use. One example of this is PostgreSQL which normally has very strict
32+
default access settings.
3033

3134
## Configure Your Projects to Use Services in Tests
3235

@@ -118,7 +121,7 @@ For Ruby projects, ensure that you have the sqlite3 ruby bindings in your bundle
118121
database: ":memory:"
119122
timeout: 500
120123

121-
However, if your project is a general library or plugin, you need to handle connecting to the database yourself in tests. For example, connecting with ActiveRecord:
124+
If you're not using a `config/database.yml` file to configure ActiveRecord, you need to connect to the database manually in the tests. For example, connecting with ActiveRecord could be done like this:
122125

123126
ActiveRecord::Base.establish_connection :adapter => 'sqlite3',
124127
:database => ':memory:'
@@ -132,9 +135,7 @@ MongoDB is **not started on boot**. To make Travis CI start the service for you,
132135

133136
to your `.travis.yml`.
134137

135-
MongoDB binds to 127.0.0.1 and requires no authentication or database creation up front.
136-
137-
However, authentication will be enabled upon adding an admin user as mongod is started with the `--auth` parameter.
138+
MongoDB binds to 127.0.0.1 and requires no authentication or database creation up front. If you add an admin user, authentication will be enabled, since mongod is started with the `--auth` argument.
138139

139140
Note: Admin users are users created on the admin database.
140141

user/deployment.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ Continuous Deployment to the following providers are currently supported out of
2424
* [Engine Yard](/user/deployment/engineyard)
2525
* [Custom deployment via after_success hook](/user/deployment/custom)
2626

27-
### Deploying to multiple Providers
27+
### Deploying to Multiple Providers
2828

29-
If you would like to deploy to multiple providers, you will need to set up your `.travis.yml` a little differently.
30-
Add the information for the providers you want to deploy to to the `deploy` section of your `.travis.yml`, just like you would add them individually.
31-
Now, in front of each provider declaration (e.g. `provider: heroku`), place a dash (-).
32-
If you want to deploy to, say, cloudControl and Heroku, your `deploy` section would look like this:
29+
Deploying to multiple providers is possible by adding the different providers
30+
to the `deploy` section as a list. For example, if you want to deploy to both
31+
cloudControl and Heroku, your `deploy` section would look something like this:
3332

3433
deploy:
3534
- provider: cloudcontrol

user/deployment/cloudfiles.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ For a minimal configuration, all you need to do is add the following to your `.t
1515
region: "CLOUDFILE REGION"
1616
container: "CLOUDFILES CONTAINER NAME"
1717

18+
This example is almost certainly not ideal, as you probably want to upload your built binaries and documentation. Set skip_cleanup to true to prevent Travis CI from deleting your build artifacts.
1819

19-
However, this example is almost certainly not ideal, as you probably want to upload your built binaries and documentation. Set skip_cleanup to true to prevent Travis CI from deleting your build artifacts.
20-
21-
deploy:
20+
deploy:
2221
provider: cloudfiles
2322
username: "RACKSPACE USERNAME"
2423
api-key: "RACKSPACE API KEY"

user/deployment/npm.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ For a minimal configuration, all you need to do is add the following to your `.t
1313
email: "YOUR EMAIL ADDRESS"
1414
api_key: "YOUR API KEY"
1515

16-
However, this is almost certainly not ideal.
17-
Instead, you will most likely want to only release to NPM when you release a new version of your package.
18-
To do this, add `tags: true` to the `on` section of your `.travis.yml` like so:
16+
Most likely, you would only want to deploy to NPM when a new version of your
17+
package is cut. To do this, you can tell Travis CI to only deploy on tagged
18+
commits, like so:
1919

2020
deploy:
2121
provider: npm

user/deployment/pypi.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ For a minimal configuration, all you need to do is add the following to your `.t
1313
user: "Your username"
1414
password: "Your password"
1515

16-
17-
However, this is almost certainly not ideal.
18-
Instead, you will most likely want to only release to PyPI when you release a new version of your package.
19-
To do this, add `tags: true` to the `on` section of your `.travis.yml` like so:
16+
Most likely, you would only want to deploy to PyPI when a new version of your
17+
package is cut. To do this, you can tell Travis CI to only deploy on tagged
18+
commits, like so:
2019

2120
deploy:
2221
provider: pypi

user/deployment/rubygems.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ For a minimal configuration, all you need to do is add the following to your `.t
1212
provider: rubygems
1313
api_key: "YOUR API KEY"
1414

15-
However, this is almost certainly not ideal.
16-
Instead, you will most likely want to only release to RubyGems when you release a new version of your gem.
17-
To do this, add `tags: tags` to the `on` section of your `.travis.yml` like so:
15+
Most likely you would only want to deploy to RubyGems when a new version of
16+
your package is cut. To do this, you can tell Travis CI to only deploy on
17+
tagged commits, like so:
1818

1919
deploy:
2020
provider: rubygems

user/deployment/s3.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ For a minimal configuration, all you need to do is add the following to your `.t
1414
secret_access_key: "YOUR AWS SECRET KEY"
1515
bucket: "S3 Bucket"
1616

17-
18-
However, this example is almost certainly not ideal, as you probably want to upload your built binaries and documentation. Set skip_cleanup to true to prevent Travis CI from deleting your build artifacts.
17+
This example is almost certainly not ideal, as you probably want to upload your built binaries and documentation. Set skip_cleanup to true to prevent Travis CI from deleting your build artifacts.
1918

2019
deploy:
2120
provider: s3

user/how-to-skip-a-build.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ Configuration](/user/build-configuration/) guides before reading this one.
1313

1414
## Not All Commits Need CI Builds
1515

16-
Sometimes you just change a README, some docs or just stuff which has no effect
17-
on the app itself. So you would like to know how to prevent your push from
18-
being built.
19-
20-
It's easy - just add the following to the commit message:
21-
22-
[ci skip]
16+
Sometimes all you are changing is the README, some documentation or other
17+
things which have no effect on the tests. In this case, you may not want a
18+
build to be created for that commit. To do this, all you need to do is to add
19+
`[ci skip]` somewhere in the commit message.
2320

2421
Commits that have `[ci skip]` anywhere in the commit messages will be ignored.
2522
`[ci skip]` does not have to appear on the first line, so it is possible to use

user/languages/clojure.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Clojure projects on travis-ci.org assume you use [Leiningen](https://github.com/
2121

2222
## Dependency Management
2323

24-
With Leiningen, explicit dependencies installation step (`lein deps`) typically is not necessary. Simply make sure all dependencies are listed in
25-
`project.clj` and `lein test` and other tasks will automatically install them if necessary before doing other things.
24+
If you use Leiningen, it will automatically install any dependencies you need
25+
as long as they are listed in the `project.clj` file.
2626

2727
### Alternate Install Step
2828

user/languages/java.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
title: Building a Java project
32
layout: en
43
permalink: java/

user/languages/javascript-with-nodejs.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ to install your dependencies. Note that dependency installation in Travis CI env
7676

7777
## Meteor Apps
7878

79-
You can build your **Meteor Apps** on Travis and test against [`laika`](http://arunoda.github.io/laika/).
80-
Simply add following `.travis.yml` file to your project root.
79+
You can build your **Meteor Apps** on Travis and test against
80+
[`laika`](http://arunoda.github.io/laika/). To do this, use a .travis.yml file
81+
like this:
8182

8283
language: node_js
8384
node_js:

user/languages/php.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ After install you should refresh your path
9898

9999
phpenv rehash
100100

101-
So, for example when you want to use phpcs, you should execute:
101+
For example, if you want to use phpcs, you should execute:
102102

103103
pyrus install pear/PHP_CodeSniffer
104104
phpenv rehash
105105

106-
Then you can use phpcs as simply as phpunit command
106+
Then you can use phpcs like the phpunit command
107107

108108
### Installing Composer packages
109109

110110
You can also install [Composer](http://packagist.org/) packages into the Travis PHP environment. The composer
111-
command comes pre-installed, so just use the following:
111+
command comes pre-installed, use the following:
112112

113113
composer install
114114

@@ -118,10 +118,10 @@ To ensure that everything works, use http(s) URLs on [Packagist](http://packagis
118118

119119
You'll find the default configure options used to build the different PHP versions used on Travis [here](https://github.com/travis-ci/travis-cookbooks/blob/master/ci_environment/phpbuild/templates/default/default_configure_options.erb), it will give you an overview of Travis' PHP installation.
120120

121-
However please note the following differences between the different PHP versions available on Travis:
121+
Please note the following differences between the different PHP versions available on Travis:
122122

123123
* For unmaintained PHP versions we provide (5.2.x, 5.3.3), OpenSSL extension is disabled because of [compilation problems with OpenSSL 1.0](http://blog.travis-ci.com/upcoming_ubuntu_11_10_migration/). Recent PHP 5.3.x and 5.4.x releases we provision do have OpenSSL extension support.
124-
* Pyrus is obviously not available for PHP 5.2.x.
124+
* Pyrus is not available for PHP 5.2.x.
125125
* Different SAPIs:
126126

127127
* 5.2.x and 5.3.3 come with php-cgi only.
@@ -203,7 +203,7 @@ If you want to learn all the details of how we build and provision multiple PHP
203203

204204
### Apache + PHP
205205

206-
Currently Travis does not support mod_php for apache, however you can configure php-fpm for your integration tests.
206+
Currently Travis does not support mod_php for apache, but you can configure php-fpm for your integration tests.
207207

208208
In your .travis.yml:
209209

user/languages/python.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you decide to use apt anyway, note that Python system packages only include P
5252
### PyPy Support
5353

5454
We provide the most recent stable release of PyPy via [PyPy Team's Releases PPA](https://launchpad.net/~pypy/+archive/ppa). For pure Python projects,
55-
it works well. However, due to known issues with the development (header) packages, native libraries won't install on PyPy. We have notified
55+
it works well. Native libraries won't install on PyPy due to known issues with the development (header) packages. We have notified
5656
PyPy package maintainers as well as PyPy core team members about the issue and waiting for it to be resolved.
5757

5858
To test your project against PyPy, add "pypy" to the list of Pythons in your `.travis.yml`:

user/languages/ruby.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ alternatives (like JDBC-based drivers for MySQL, PostgreSQL and so on).
141141
## Default Test Script
142142

143143
Travis CI runs `rake` by default to execute your tests. Please note that **you
144-
need to add rake to your Gemfile** (adding it to just the `:test` group should
144+
need to add rake to your Gemfile** (adding it to the `:test` group should
145145
be sufficient).
146146

147147
## Dependency Management
@@ -337,8 +337,8 @@ installed by the newest Bundler/RubyGems combination.
337337

338338
We try to keep it as up-to-date as possible.
339339

340-
However, should you require the latest version of RubyGems, you can add the
341-
following to your .travis.yml:
340+
Should you require the latest version of RubyGems, you can add the following to
341+
your .travis.yml:
342342

343343
before_install:
344344
- gem update --system

user/notifications.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ And it will by default send emails when, on the given branch:
2222

2323
You can change this behaviour using the following options:
2424

25-
> Note: Items in brackets are just placeholders. Brackets should be omitted.
25+
> Note: Items in brackets are placeholders. Brackets should be omitted.
2626
2727
## Email notifications
2828

@@ -48,7 +48,7 @@ Also, you can specify when you want to get notified:
4848
on_success: [always|never|change] # default: change
4949
on_failure: [always|never|change] # default: always
5050

51-
`always` and `never` obviously mean that you want email notifications to be sent always or never. `change` means that you will get them when the build status changes on the given branch.
51+
`always` and `never` mean that you want email notifications to be sent always or never. `change` means that you will get them when the build status changes on the given branch.
5252

5353
## IRC notification
5454

@@ -64,7 +64,7 @@ Or multiple channels:
6464
- "chat.freenode.net#travis"
6565
- "chat.freenode.net#some-other-channel"
6666

67-
Just as with other notification types you can specify when IRC notifications will be sent:
67+
As with other notification types you can specify when IRC notifications will be sent:
6868

6969
notifications:
7070
irc:
@@ -231,7 +231,7 @@ Or multiple channels:
231231
- http://your-domain.com/notifications
232232
- http://another-domain.com/notifications
233233

234-
Just as with other notification types you can specify when webhook payloads will be sent:
234+
As with other notification types you can specify when webhook payloads will be sent:
235235

236236
notifications:
237237
webhooks:

user/travis-pro.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ continuous integration solution for private repositories.
1515

1616
By default Travis focuses its build efforts around a single repository. We set
1717
up a private deploy key for every repository that's enabled to build on Travis
18-
Pro and assign that to the repository. That means we can't simply pull in
19-
dependent repositories, e.g. from your Gemfile or for your Composer setup. The
20-
key can only be assigned to the single repository and not be reused throughout
21-
all of GitHub.
18+
Pro and assign that to the repository. That means we can't pull in dependent
19+
repositories, e.g. from your Gemfile or for your Composer setup, without some
20+
additional setup. The key can only be assigned to the single repository and not
21+
be reused throughout all of GitHub.
2222

2323
If you need to pull in Git submodules or dependent repositories, that's still
2424
easy to achieve, though. You can either specify the dependencies using GitHub's

0 commit comments

Comments
 (0)