Skip to content

Commit 1f51e49

Browse files
committed
Fix merge conflict
2 parents 0912105 + 5931093 commit 1f51e49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+634
-324
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ _site
55
bin
66
source/tmp/*
77
.sass-cache
8+
.ruby-version

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to run a local Web server that will serve documentation site, run:
2222

2323
./bin/jekyll serve
2424

25-
and then open [localhost:4000](http://localhost:4000/) in your browser.
25+
and then open [localhost:4000](http://localhost:4000/) in your browser.
2626

2727
To regenerate the HTML pages automatically when you make changes to Markdown source files, use
2828

@@ -33,4 +33,4 @@ version (1.8 vs. 1.9) used. It is normal.
3333

3434
## License
3535

36-
Distributed under the MIT license, the same as other Travis CI projects.
36+
Distributed under the [MIT license](https://opensource.org/licenses/MIT); the same as other Travis CI projects.

_data/deployments.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
anynines: "/user/deployment/anynines"
22
Appfog: "/user/deployment/appfog"
3+
Atlas: "/user/deployment/atlas/"
34
AWS CodeDeploy: "/user/deployment/codedeploy"
45
AWS OpsWorks: "/user/deployment/opsworks"
56
Azure Web Apps: "/user/deployment/azure-web-apps"
@@ -20,7 +21,6 @@ Hackage: "/user/deployment/hackage"
2021
Heroku: "/user/deployment/heroku"
2122
Modulus: "/user/deployment/modulus"
2223
Ninefold: "/user/deployment/ninefold"
23-
Nodejitsu: "/user/deployment/nodejitsu"
2424
npm: "/user/deployment/npm"
2525
OpenShift: "/user/deployment/openshift"
2626
packagecloud.io: "/user/deployment/packagecloud"

_data/snippets.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
conditional_deploy: |
2+
### Conditional Deploys
3+
4+
You can deploy only when certain conditions are met.
5+
See [Conditional Releases with `on:`](/user/deployment#Conditional-Releases-with-on%3A).
6+
before_and_after: |
7+
### Running commands before and after deploy
8+
9+
Sometimes you want to run commands before or after deploying. You can use the `before_deploy` and `after_deploy` stages for this. These will only be triggered if Travis CI is actually deploying.
10+
11+
```yaml
12+
before_deploy: "echo 'ready?'"
13+
deploy:
14+
..
15+
after_deploy:
16+
- ./after_deploy_1.sh
17+
- ./after_deploy_2.sh
18+
```

assets/javascripts/prism.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/stylesheets/prism.scss

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+ruby */
1+
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+ruby+yaml */
22
/**
33
* prism.js default theme for JavaScript, CSS and HTML
44
* Based on dabblet (http://dabblet.com)
@@ -54,10 +54,10 @@ pre[class*="language-"] {
5454
overflow: auto;
5555
}
5656

57-
:not(pre) > code[class*="language-"],
58-
pre[class*="language-"] {
59-
// background: #f5f2f0;
60-
}
57+
// :not(pre) > code[class*="language-"],
58+
// pre[class*="language-"] {
59+
// background: #f5f2f0;
60+
// }
6161

6262
/* Inline code */
6363
:not(pre) > code[class*="language-"] {

user/apt.md

-57
This file was deleted.

user/caching.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,12 @@ we'll see about adding your custom source to our cache.
205205

206206
### Fetching and storing caches
207207

208-
* We fetch the repo's cache on every build, including feature branches and pull requests.
209-
* There is one cache per branch and language version/compiler version/JDK version/Gemfile location/etc.
210-
* If a branch does not have its own cache yet, it will fetch the master branch cache.
208+
* Travis CI fetches the cache for every build, including feature branches and pull requests.
209+
* There is one cache per branch and language version/ compiler version/ JDK version/ Gemfile location/ etc.
210+
* Pull requests use the cache of the target of the pull request.
211+
* If a branch does not have its own cache yet, it uses the master branch cache (unless it is a pull request, see above).
211212
* Only modifications made to the cached directories from normal pushes are stored.
212213

213-
Currently Pull Requests will use the cache of the branch they are supposed to be merged into.
214-
215214
### `before_cache` phase
216215

217216
When using caches, it may be useful to run command just prior to uploading

user/ci-environment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Please note that the addon only works in 64-bit Linux environments.
203203

204204
### Environment variables
205205

206-
There is a [list of default environment variables](/user/environment-variables#Default-Environment-Variables) available in each build environment.
206+
There is a [list of default environment variables](/user/environment-variables#Default-Environment-Variables) available in each build environment.
207207

208208
### Libraries
209209

user/common-build-problems.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,6 @@ If you have a command that doesn't produce output for more than 10 minutes, you
294294

295295
install: travis_wait mvn install
296296

297-
`travis_wait` writes a short line to the build log every minutes for 20 minutes, extending the amount of time your command has to finish.
297+
`travis_wait` writes a short line to the build log every minute for 20 minutes, extending the amount of time your command has to finish.
298298

299299
We recommend careful use of `travis_wait`, as overusing it can extend your build time when there could be a deeper underlying issue. When in doubt, [file a ticket](https://github.com/travis-ci/travis-ci/issues/new) or [email us](mailto:[email protected]) first to see if something could be improved about this particular command first.

user/customizing-the-build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ before_install:
150150
```
151151

152152
> Note that this feature is not available for builds that are running on [Container-based workers](/user/ci-environment/#Virtualization-environments).
153-
> Look into [using the `apt` plug-in](/user/apt/) instead.
153+
> Look into [using the `apt` plug-in](/user/installing-dependencies/#Installing-Packages-on-Container-Based-Infrastructure) instead.
154154
155155
All virtual machines are snapshotted and returned to their intial state after each build.
156156

user/database-setup.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To use MySQL include the following `services` entry in `.travis.yml`:
9898

9999
Note: MySQL on Travis CI is currently **started on boot** however this may not always be the case.
100100

101-
MySQL binds to 127.0.0.1 and requires authentication. You can connect using the username "travis" or "root" and a blank password.
101+
MySQL binds to 127.0.0.1 and requires authentication. You can connect using the username "travis" or "root" and a blank password.
102102

103103
>Note that the "travis" user does not have full MySQL privileges that the "root" user does.
104104

user/deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ It can be complex, but there can be only one. For example, `$CC = gcc`.
7676
This example deploys to Nodejistu only from the `staging` branch when the test has run on Node.js version 0.11.
7777

7878
deploy:
79-
provider: nodejitsu
79+
provider: appfog
8080
user: ...
8181
api_key: ...
8282
on:

0 commit comments

Comments
 (0)