You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/build-configuration.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,7 @@ If your project uses non-standard dependency management tools, you can override
115
115
116
116
As with other scripts, `install` command can be anything but has to exit with the 0 status in order to be considered successful.
117
117
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.
119
119
120
120
install: true
121
121
@@ -184,7 +184,7 @@ Currently Clojure projects can be tested against Oracle JDK 7, OpenJDK 7 and Ope
184
184
* In Leiningen 1.x, via [lein-multi plugin](https://github.com/maravillas/lein-multi)
185
185
* In upcoming Leiningen 2.0, via Leiningen Profiles
186
186
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.
188
188
189
189
Learn more in our [Clojure guide](/user/languages/clojure/).
190
190
@@ -455,7 +455,7 @@ Such configuration will generate matrix with 2 following env rows:
455
455
456
456
### Secure environment variables
457
457
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:
Copy file name to clipboardExpand all lines: user/caching.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -101,21 +101,21 @@ Currently Pull Requests will use the cache of the branch they are supposed to be
101
101
102
102
### Clearing Caches
103
103
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):
Copy file name to clipboardExpand all lines: user/database-setup.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,10 @@ This guide covers data stores and other services (e.g. RabbitMQ) offered in the
26
26
* Kestrel
27
27
* SQLite3
28
28
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.
30
33
31
34
## Configure Your Projects to Use Services in Tests
32
35
@@ -118,7 +121,7 @@ For Ruby projects, ensure that you have the sqlite3 ruby bindings in your bundle
118
121
database: ":memory:"
119
122
timeout: 500
120
123
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:
@@ -132,9 +135,7 @@ MongoDB is **not started on boot**. To make Travis CI start the service for you,
132
135
133
136
to your `.travis.yml`.
134
137
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.
138
139
139
140
Note: Admin users are users created on the admin database.
Copy file name to clipboardExpand all lines: user/deployment/cloudfiles.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,9 @@ For a minimal configuration, all you need to do is add the following to your `.t
15
15
region: "CLOUDFILE REGION"
16
16
container: "CLOUDFILES CONTAINER NAME"
17
17
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.
18
19
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.
Copy file name to clipboardExpand all lines: user/deployment/s3.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,7 @@ For a minimal configuration, all you need to do is add the following to your `.t
14
14
secret_access_key: "YOUR AWS SECRET KEY"
15
15
bucket: "S3 Bucket"
16
16
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.
Copy file name to clipboardExpand all lines: user/languages/php.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -98,17 +98,17 @@ After install you should refresh your path
98
98
99
99
phpenv rehash
100
100
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:
102
102
103
103
pyrus install pear/PHP_CodeSniffer
104
104
phpenv rehash
105
105
106
-
Then you can use phpcs as simply as phpunit command
106
+
Then you can use phpcs like the phpunit command
107
107
108
108
### Installing Composer packages
109
109
110
110
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:
112
112
113
113
composer install
114
114
@@ -118,10 +118,10 @@ To ensure that everything works, use http(s) URLs on [Packagist](http://packagis
118
118
119
119
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.
120
120
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:
122
122
123
123
* 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.
125
125
* Different SAPIs:
126
126
127
127
* 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
203
203
204
204
### Apache + PHP
205
205
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.
`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.
52
52
53
53
## IRC notification
54
54
@@ -64,7 +64,7 @@ Or multiple channels:
64
64
- "chat.freenode.net#travis"
65
65
- "chat.freenode.net#some-other-channel"
66
66
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:
68
68
69
69
notifications:
70
70
irc:
@@ -231,7 +231,7 @@ Or multiple channels:
231
231
- http://your-domain.com/notifications
232
232
- http://another-domain.com/notifications
233
233
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:
0 commit comments