2019-09-16 22:50:03 +00:00
|
|
|
# Use Node.js configuration.
|
2019-09-16 20:48:32 +00:00
|
|
|
language: node_js
|
2019-09-16 20:52:29 +00:00
|
|
|
|
2020-01-31 18:51:18 +00:00
|
|
|
# Test the latest and LTS releases >= LTS Dubnium (10).
|
2020-01-22 00:22:19 +00:00
|
|
|
node_js:
|
2020-01-31 18:51:18 +00:00
|
|
|
- lts/dubnium
|
|
|
|
- lts/erbium
|
2019-09-16 20:52:29 +00:00
|
|
|
- node
|
|
|
|
|
2019-09-16 22:50:03 +00:00
|
|
|
# All of the operating systems!
|
2020-01-31 18:51:18 +00:00
|
|
|
# Note: Windows support is iffy.
|
2019-09-16 20:52:29 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- windows
|
2019-09-16 22:50:03 +00:00
|
|
|
|
2020-01-23 20:09:54 +00:00
|
|
|
# Don't build arbitrary branches, just pull requests + master + semver tags.
|
|
|
|
branches:
|
|
|
|
only:
|
2020-03-23 22:54:28 +00:00
|
|
|
- master
|
|
|
|
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
2020-03-24 02:19:09 +00:00
|
|
|
|
|
|
|
# Never convert EOL characters.
|
|
|
|
# https://github.com/prettier/prettier/issues/7853
|
|
|
|
git:
|
|
|
|
autocrlf: input
|