Skip to content

Commit 5719355

Browse files
authored
Merge branch 'master' into patch-1
2 parents 8efa105 + b471569 commit 5719355

File tree

161 files changed

+2705
-1785
lines changed

Some content is hidden

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

161 files changed

+2705
-1785
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ branches:
99
env:
1010
global:
1111
- PATH=$HOME/.local/user/bin:$PATH
12+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
1213
cache:
1314
pip: true
1415
directories:
1516
- vendor/bundle
1617
- node_modules
18+
- $TRAVIS_BUILD_DIR/tmp/.htmlproofer #https://github.com/gjtorikian/html-proofer/issues/381
1719
addons:
1820
apt:
1921
packages:
@@ -36,7 +38,9 @@ notifications:
3638
https://docs.travis-ci.com/update_webhook_payload_doc
3739
install:
3840
- rvm use 2.4.3 --install
41+
- gem install bundler -v '< 2'
3942
- bundle install --deployment
43+
- sudo apt-get install libcurl4-openssl-dev # required to avoid SSL errors
4044
script:
4145
- bundle exec rake test
4246
- xmllint --noout _site/feed.build-env-updates.xml

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ <h1 id="logo" class="logo">
224224
</h1>
225225
<nav>
226226
<ul id="navigation" class="navigation">
227-
<li><a href="http://blog.travis-ci.com">Blog</a></li>
228-
<li><a href="http://docs.travis-ci.com">Docs</a></li>
227+
<li><a href="https://blog.travis-ci.com">Blog</a></li>
228+
<li><a href="https://docs.travis-ci.com">Docs</a></li>
229229
</ul>
230230
</nav>
231231
</div>

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,4 @@ RUBY VERSION
254254
ruby 2.4.3p205
255255

256256
BUNDLED WITH
257-
1.16.5
257+
1.17.3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# About this repository [![Build Status](https://travis-ci.org/travis-ci/docs-travis-ci-com.svg?branch=master)](https://travis-ci.org/travis-ci/docs-travis-ci-com)
22

3-
This is the documentation site for Travis CI! (<http://docs.travis-ci.com/>)
3+
This is the documentation site for Travis CI! (<https://docs.travis-ci.com/>)
44

55
## How to contribute
66

Rakefile

Lines changed: 31 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env rake
22
# frozen_string_literal: true
33

4+
abort('Please run this using `bundle exec rake`') unless ENV["BUNDLE_BIN_PATH"]
5+
46
require 'ipaddr'
57
require 'json'
68
require 'yaml'
@@ -38,17 +40,11 @@ desc 'Runs the tests!'
3840
task test: %i[build run_html_proofer]
3941

4042
desc 'Builds the site (Jekyll and Slate)'
41-
task build: %i[remove_output_dir regen make_api] do
43+
task build: %i[regen make_api] do
4244
rm_f '.jekyll-metadata'
4345
sh 'bundle exec jekyll build --config=_config.yml'
4446
end
4547

46-
desc 'Remove the output dirs'
47-
task :remove_output_dir do
48-
rm_rf('_site')
49-
rm_rf('api/*')
50-
end
51-
5248
desc 'Lists files containing beta features'
5349
task :list_beta_files do
5450
files = FileList.new('**/*.md')
@@ -58,66 +54,33 @@ task :list_beta_files do
5854
end
5955
end
6056

61-
desc 'Runs the html-proofer test'
57+
desc 'Check links and validate some html'
6258
task :run_html_proofer => [:build] do
63-
HTMLProofer.check_directory(
64-
'./_site',
65-
internal_domains: ['docs.travis-ci.com'],
66-
check_external_hash: true,
67-
check_html: true,
68-
connecttimeout: 600,
69-
allow_hash_ref: true,
70-
only_4xx: true,
71-
typhoeus: {
72-
ssl_verifypeer: false, ssl_verifyhost: 0, followlocation: true
73-
},
74-
url_ignore: [
75-
/itunes\.apple\.com/,
76-
],
77-
file_ignore: %w[
78-
./_site/api/index.html
79-
]
80-
).run
81-
end
82-
83-
desc 'Runs the html-proofer test for internal links only'
84-
task :run_html_proofer_internal => [:build] do
85-
HTMLProofer.check_directory(
86-
'./_site',
87-
disable_external: true,
88-
internal_domains: ['docs.travis-ci.com'],
89-
connecttimeout: 600,
90-
only_4xx: true,
91-
typhoeus: {
92-
ssl_verifypeer: false, ssl_verifyhost: 0, followlocation: true
93-
},
94-
file_ignore: %w[
95-
./_site/api/index.html
96-
]
97-
).run
98-
end
99-
100-
file '_data/trusty-language-mapping.json' do |t|
101-
source = File.join(
102-
'https://raw.githubusercontent.com',
103-
'travis-infrastructure/terraform-config/master/aws-production-2',
104-
'generated-language-mapping.json'
105-
)
106-
107-
bytes = File.write(t.name, Faraday.get(source).body)
108-
109-
puts "Updated #{t.name} (#{bytes} bytes)"
110-
end
111-
112-
file '_data/trusty_language_mapping.yml' => [
113-
'_data/trusty-language-mapping.json'
114-
] do |t|
115-
bytes = File.write(
116-
t.name,
117-
YAML.dump(JSON.parse(File.read('_data/trusty-language-mapping.json')))
118-
)
119-
120-
puts "Updated #{t.name} (#{bytes} bytes)"
59+
options = {
60+
internal_domains: ['docs.travis-ci.com'],
61+
check_external_hash: true,
62+
check_html: true,
63+
connecttimeout: 600,
64+
allow_hash_ref: true,
65+
#only_4xx: true,
66+
typhoeus: {
67+
ssl_verifypeer: false, ssl_verifyhost: 0, followlocation: true
68+
},
69+
url_ignore: [
70+
/itunes\.apple\.com/,
71+
],
72+
file_ignore: %w[
73+
./_site/api/index.html
74+
],
75+
:cache => {
76+
:timeframe => '3w'
77+
}
78+
}
79+
begin
80+
HTMLProofer.check_directory( './_site', options).run
81+
rescue => msg
82+
puts "#{msg}"
83+
end
12184
end
12285

12386
file '_data/ip_range.yml' do |t|
@@ -161,7 +124,6 @@ task regen: (%i[clean] + %w[
161124
_data/ip_range.yml
162125
_data/linux_containers_ip_range.yml
163126
_data/macstadium_ip_range.yml
164-
_data/trusty_language_mapping.yml
165127
_data/node_js_versions.yml
166128
])
167129

@@ -173,10 +135,10 @@ task :clean do
173135
_data/ip_range.yml
174136
_data/linux_containers_ip_range.yml
175137
_data/macstadium_ip_range.yml
176-
_data/trusty-language-mapping.json
177-
_data/trusty_language_mapping.yml
178138
_data/node_js_versions.yml
179139
])
140+
rm_rf('_site')
141+
rm_rf('api/*')
180142
end
181143

182144
desc 'Start Jekyll server'

_data/enterprise.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

_data/language-details/perl.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
threading: |
2+
Some Perls have been compiled with threading support. They have been compiled
3+
with the additional compile flags `-Duseshrplib` and `-Duseithreads`:
4+
5+
```
6+
5.26-shrplib
7+
5.24-shrplib
8+
5.22-shrplib
9+
5.20-shrplib
10+
5.18-shrplib
11+
```
12+
modules: |
13+
```
14+
cpanm (App::cpanminus)
15+
Dist::Zilla
16+
Dist::Zilla::Plugin::Bootstrap::lib
17+
ExtUtils::MakeMaker
18+
LWP
19+
Module::Install
20+
Moose
21+
Test::Exception
22+
Test::Kwalitee
23+
Test::Most
24+
Test::Pod
25+
Test::Pod::Coverage
26+
```

_data/languages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ Elixir: "/user/languages/elixir/"
1010
Elm: "/user/languages/elm/"
1111
Erlang: "/user/languages/erlang/"
1212
F#: "/user/languages/csharp/"
13+
Generic: "/user/languages/minimal-and-generic/"
1314
Go: "/user/languages/go/"
1415
Groovy: "/user/languages/groovy/"
1516
Haskell: "/user/languages/haskell/"
1617
Haxe: "/user/languages/haxe/"
1718
Java: "/user/languages/java/"
1819
JavaScript <small>(with Node.js)</small>: "/user/languages/javascript-with-nodejs/"
1920
Julia: "/user/languages/julia/"
21+
Minimal: "/user/languages/minimal-and-generic/"
2022
Nix: "/user/languages/nix/"
2123
Objective-C: "/user/languages/objective-c/"
2224
Perl: "/user/languages/perl/"

_data/snippets.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,34 @@ ghlimit: |
2323
> *per commit*, which causes the Travis CI build status displayed on GitHub
2424
> to be incorrect.
2525
> Avoid this problem by specifying a regularly updated branch for your automated builds.
26-
trusty_note: |
26+
all_note: |
2727
> Language versions and other build-environment specific
2828
> information are in our reference pages:
2929
> * [Precise](/user/reference/precise/)
3030
> * [Trusty](/user/reference/trusty/)
3131
> * [Xenial](/user/reference/xenial/)
32-
> * [OS X](/user/reference/osx/)
33-
trusty_note_no_osx: |
32+
> * [macOS](/user/reference/osx/)
33+
> * [Windows](/user/reference/windows/)
34+
unix_note: |
3435
> Language versions and other build-environment specific
3536
> information are in our reference pages:
3637
> * [Precise](/user/reference/precise/)
3738
> * [Trusty](/user/reference/trusty/)
3839
> * [Xenial](/user/reference/xenial/)
40+
> * [macOS](/user/reference/osx/)
41+
linux_note: |
42+
> Language versions and other build-environment specific
43+
> information are in our reference pages:
44+
> * [Precise](/user/reference/precise/)
45+
> * [Trusty](/user/reference/trusty/)
46+
> * [Xenial](/user/reference/xenial/)
47+
linux_windows_note: |
48+
> Language versions and other build-environment specific
49+
> information are in our reference pages:
50+
> * [Precise](/user/reference/precise/)
51+
> * [Trusty](/user/reference/trusty/)
52+
> * [Xenial](/user/reference/xenial/)
53+
> * [Windows](/user/reference/windows/)
3954
concurrent_jobs: |
4055
The maximum number of concurrent jobs depends on the total system load, but
4156
one situation in which you might want to set a particular limit is:
@@ -60,7 +75,7 @@ contact_enterprise_support: |
6075
6176
- Description of the problem - what are you observing?
6277
- Which steps did you try already?
63-
- A support bundle (You can get it from `https://yourdomain:8800/support`)
78+
- A support bundle (You can get it from `https://<your-travis-ci-enterprise-domain>:8800/support`)
6479
- Log files from all workers (They can be found at `/var/log/upstart/travis-worker.log` - please include as many as you can retrieve).
6580
- If a build failed or errored, a text file of the build log
6681

_data/xcodes.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,64 @@
11
osx_images:
2+
- image: xcode10.2
3+
xcode: "10.2"
4+
osx_version: "10.14"
5+
xcode_full_version: "10.2.1"
6+
xcode_build_version: "10E1001"
7+
image_publish_date: 2019-04-18
8+
sdks:
9+
- macosx10.14
10+
- iphoneos12.2
11+
- iphonesimulator12.2
12+
- appletvos12.2
13+
- appletvsimulator12.2
14+
- watchos5.2
15+
- watchsimulator5.2
16+
simulators:
17+
- iOS 8.1
18+
- iOS 8.2
19+
- iOS 8.3
20+
- iOS 8.4
21+
- iOS 9.0
22+
- iOS 9.1
23+
- iOS 9.2
24+
- iOS 9.3
25+
- iOS 10.0
26+
- iOS 10.1
27+
- iOS 10.2
28+
- iOS 10.3
29+
- iOS 11.0
30+
- iOS 11.1
31+
- iOS 11.2
32+
- iOS 11.3
33+
- iOS 11.4
34+
- iOS 12.0
35+
- iOS 12.1
36+
- iOS 12.2
37+
- tvOS 9.0
38+
- tvOS 9.1
39+
- tvOS 9.2
40+
- tvOS 10.0
41+
- tvOS 10.1
42+
- tvOS 10.2
43+
- tvOS 11.0
44+
- tvOS 11.1
45+
- tvOS 11.2
46+
- tvOS 11.3
47+
- tvOS 11.4
48+
- tvOS 12.0
49+
- tvOS 12.1
50+
- tvOS 12.2
51+
- watchOS 2.0
52+
- watchOS 2.1
53+
- watchOS 2.2
54+
- watchOS 3.2
55+
- watchOS 4.0
56+
- watchOS 4.1
57+
- watchOS 4.2
58+
- watchOS 5.0
59+
- watchOS 5.1
60+
- watchOS 5.2
61+
jdk: "12+33"
262
- image: xcode10.1
363
xcode: "10.1"
464
osx_version: "10.13"

0 commit comments

Comments
 (0)