Skip to content

Commit c320232

Browse files
authored
Merge branch 'master' into patch-1
2 parents 959ed08 + 8a20e31 commit c320232

File tree

11 files changed

+79
-16
lines changed

11 files changed

+79
-16
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.3
1+
ruby-2.6.3

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ notifications:
3737
webhooks:
3838
https://docs.travis-ci.com/update_webhook_payload_doc
3939
install:
40-
- rvm use 2.4.3 --install
41-
- gem install bundler -v '< 2'
40+
- rvm use 2.6.3 --install
4241
- bundle install --deployment
4342
- sudo apt-get install libcurl4-openssl-dev # required to avoid SSL errors
4443
script:

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
source 'https://rubygems.org'
22

3-
ruby '2.4.3'
3+
ruby '2.6.3'
44

55
gem 'faraday'
66
gem 'html-proofer', '~> 3.0'
@@ -27,8 +27,9 @@ gem "middleman-syntax"
2727
gem 'middleman-gh-pages'
2828

2929
# Live-reloading plugin
30-
gem "middleman-livereload", "~> 3.3.0"
30+
gem "middleman-livereload"
3131

32+
# Needed for Slate / middleman
3233
gem 'redcarpet'
3334

3435
# Cross-templating language block fix for Ruby 1.8

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ DEPENDENCIES
237237
jekyll-redirect-from
238238
middleman
239239
middleman-gh-pages
240-
middleman-livereload (~> 3.3.0)
240+
middleman-livereload
241241
middleman-syntax
242242
pry
243243
puma
@@ -251,7 +251,7 @@ DEPENDENCIES
251251
therubyracer
252252

253253
RUBY VERSION
254-
ruby 2.4.3p205
254+
ruby 2.6.3p62
255255

256256
BUNDLED WITH
257257
1.17.3

STYLE.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ We'll be using a subset (TBD) of the full [list of checks][checks].
1212

1313
[checks]: https://github.com/coala/bear-docs/blob/master/docs/MarkdownBear.rst#settings "MarkdownBear checks"
1414

15+
We use Kramdown, with [GFM](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) codeblocks, and a few Kramdown related exceptions introduced with `{: }` such as class names for specific formatting of columns and notes.
16+
1517
### Headings
1618

1719
For historical reasons, the top level heading in Jekyll markdown files is level 2 (##) not level 1 (#).
@@ -49,15 +51,19 @@ All pages have tables of contents generated automatically from H2 and H3
4951

5052
To remove the TOC from a page add `no_toc: true` to the frontmatter.
5153

52-
### Beta features
54+
### Note, warnings and blocks
55+
56+
We use the blockquote symbol `>` for general purpose notes and warnings.
57+
58+
#### Beta features
5359

5460
Mark all beta features with a specially formatted note. Both the `> BETA` and
5561
the `{: .beta}` are required.
5662

5763
> BETA Awesome new feature that might not be enabled and is subject to change.
5864
{: .beta}
5965

60-
### Alpha features
66+
#### Alpha features
6167

6268
Mark all alpha features with a specially formatted note. Both the `> ALPHA` and
6369
the `{: alpha}` are required.

_data/xcodes.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
11
osx_images:
2+
- image: xcode11
3+
xcode: "11.0"
4+
osx_version: "10.14"
5+
xcode_full_version: "11.0"
6+
xcode_build_version: "11M362v"
7+
image_publish_date: 2019-07-05
8+
sdks:
9+
- iphoneos13.0
10+
- iphonesimulator13.0
11+
- macosx10.15
12+
- appletvos13.0
13+
- appletvsimulator13.0
14+
- watchos6.0
15+
- watchsimulator6.0
16+
simulators:
17+
- iOS 10.3
18+
- iOS 11.0
19+
- iOS 11.1
20+
- iOS 11.2
21+
- iOS 11.3
22+
- iOS 11.4
23+
- iOS 12.0
24+
- iOS 12.1
25+
- iOS 13.0
26+
- tvOS 10.2
27+
- tvOS 11.0
28+
- tvOS 11.1
29+
- tvOS 11.2
30+
- tvOS 11.3
31+
- tvOS 11.4
32+
- tvOS 12.0
33+
- tvOS 12.1
34+
- tvOS 13.0
35+
- watchOS 3.2
36+
- watchOS 4.0
37+
- watchOS 4.1
38+
- watchOS 4.2
39+
- watchOS 5.0
40+
- watchOS 5.1
41+
- watchOS 6.0
42+
jdk: "12.0.1"
243
- image: xcode10.2
344
xcode: "10.2"
445
osx_version: "10.14"

user/database-setup.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ before_script:
357357

358358
## RabbitMQ
359359

360-
RabbitMQ requires `setuid` flags, so you can only run RabbitMQ on macOS or Ubuntu Trusty infrastructure.
360+
RabbitMQ requires `setuid` flags, so you can only run RabbitMQ as a service on macOS or Ubuntu Trusty infrastructure.
361361

362362
Start RabbitMQ in your `.travis.yml`:
363363

@@ -375,6 +375,14 @@ RabbitMQ uses the default configuration:
375375

376376
You can set up more vhosts and roles in the `before_script` section of your `.travis.yml`.
377377

378+
RabbitMQ [can be launched](https://docs.travis-ci.com/user/reference/xenial/#third-party-apt-repositories-removed) on Ubuntu Xenial using the APT addon in `.travis.yml`:
379+
```yaml
380+
addons:
381+
apt:
382+
packages:
383+
- rabbitmq-server
384+
```
385+
378386
## Riak
379387

380388
> Riak is only available in the [Ubuntu Trusty environment](/user/reference/trusty/).

user/deployment/releases.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,12 @@ This gives you an opportunity to examine and edit the draft release.
6060

6161
## Setting the tag at deployment time
6262

63-
GitHub Releases needs a tag at the deployment time.
64-
While `on.tags: true` guarantees this, you can postpone setting the tag until
63+
GitHub Releases needs the present commit to be tagged at the deployment time.
64+
If you set `on.tags: true`, the commit is guaranteed to have a tag.
65+
66+
Depending on the workflow, however, this is not desirable.
67+
68+
In such cases, it is possible to postpone setting the tag until
6569
you have all the information you need.
6670
A natural place to do this is `before_deploy`.
6771
For example:

user/encryption-keys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Then, you can use `encrypt` command to encrypt data (This example assumes you ar
3636
travis encrypt SOMEVAR="secretvalue"
3737
```
3838

39-
Or, if you are using [travis-ci.com](https://travis-ci.com), you will need to add `--com` to the CLI:
39+
Or, if you are using [travis-ci.com](https://travis-ci.com), you will need to add `--pro` to the CLI:
4040

4141
```bash
42-
travis encrypt --com SOMEVAR="secretvalue"
42+
travis encrypt --pro SOMEVAR="secretvalue"
4343
```
4444

4545
This will output a string looking something like:

user/languages/minimal-and-generic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ layout: en
66

77
## What This Guide Covers
88

9-
Travis CI supports many popular programming languages, but can never hope to support them all. `language: minimal` and `language: generic` are images available in Ubuntu Xenial `dist: xenial`and Ubuntu Trusty `dist:trusty`, that are not tailored to any particular programming language. As their names suggest, one is optimized be faster and use less disk space, the other to have more languages and services available.
9+
Travis CI supports many popular programming languages, but can never hope to support them all. `language: minimal` and `language: generic` are images available in Ubuntu Xenial `dist: xenial`and Ubuntu Trusty `dist:trusty`, that are not tailored to any particular programming language. As their names suggest, one is optimized to be faster and use less disk space, the other to have more languages and services available.
1010

1111
> Note that `language: minimal` is not the same as omitting the `language` key, if you do that the default language is set to Ruby.
1212

user/sonarcloud.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,14 @@ addons:
6464
secure: "*********" # encrypted value of your token
6565
script:
6666
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
67-
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
67+
- mvn clean verify sonar:sonar -Pcoverage -Dsonar.projectKey=myorg_myrepo
6868
```
6969
{: data-file=".travis.yml"}
7070

71+
> Please note the following:
72+
- the "coverage" profile activates the generation of the JaCoCo XML report
73+
- "sonar.projectKey" can also be set as a property on the main POM file. Its value can be found on the right side of the project homepage on SonarCloud
74+
7175
Please take a look at the [live Maven-based example project](https://github.com/SonarSource/sq-com_example_java-maven-travis) to know more about this use case.
7276

7377
## Analysis of internal pull requests

0 commit comments

Comments
 (0)