-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.0.2 - error reporting now uses fullStack property if it exists
- Loading branch information
Showing
37 changed files
with
8,690 additions
and
2,200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
# 2016 March 8 | ||
# 2018 January 24 | ||
# https://github.com/bevry/base | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
indent_style = tab | ||
|
||
[*.json] | ||
indent_style = space | ||
indent_size = 2 | ||
[{*.mk,*.py}] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.yml] | ||
[*.md] | ||
indent_style = space | ||
indent_size = 2 | ||
indent_size = 4 | ||
|
||
[*.md] | ||
[{*.json,*.yml,*.bowerrc,*.babelrc}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.json] | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,32 @@ | ||
# 2016 November 5 | ||
# https://github.com/bevry/base | ||
|
||
# Use the latest travis infrastructure | ||
sudo: false | ||
|
||
# https://github.com/nodejs/LTS | ||
language: node_js | ||
node_js: | ||
- "0.8" # end of life | ||
- "0.10" # end of life | ||
- "0.12" # maintenance | ||
- "4" # lts | ||
- "6" # lts | ||
- "7" # stable | ||
- '0.8' | ||
- '0.10' | ||
- '0.12' | ||
- '4' | ||
- '6' | ||
- '8' | ||
- '10' | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- node_js: "0.8" | ||
- node_js: "0.10" | ||
- node_js: '0.8' | ||
- node_js: '0.10' | ||
cache: | ||
directories: | ||
- node_modules | ||
|
||
# Ensure npm is up to date | ||
# Ensure dependencies install with a LTS node version | ||
install: | | ||
export CURRENT_NPM_VERSION="$(npm --version)" | ||
export LATEST_NPM_VERSION="$(npm view npm version)" | ||
if test "$CURRENT_NPM_VERSION" != "$LATEST_NPM_VERSION"; then | ||
echo "running an old npm version, upgrading" | ||
npm instal npm --global --cache-min=Infinity | ||
fi | ||
export CURRENT_NODE_VERSION="$(node --version)" | ||
export LTS_NODE_VERSIONS="$(nvm ls-remote --lts)" | ||
if echo "$LTS_NODE_VERSIONS" | grep "$CURRENT_NODE_VERSION"; then | ||
echo "running on a LTS node version, completing setup" | ||
npm run our:setup | ||
else | ||
echo "running on a non-LTS node version, completing setup on a LTS node version" | ||
nvm install --lts | ||
export LTS_NODE_VERSION="$(node --version)" | ||
npm run our:setup | ||
nvm use "$TRAVIS_NODE_VERSION" | ||
fi | ||
# Ensure compilation and linting occur on an LTS node version | ||
before_script: | | ||
if test "$LTS_NODE_VERSION"; then | ||
echo "running on a non-LTS node version, compiling with LTS, skipping linting" | ||
nvm use "$LTS_NODE_VERSION" | ||
npm run our:compile | ||
nvm use "$TRAVIS_NODE_VERSION" | ||
else | ||
echo "running on a LTS node version, compiling and linting" | ||
npm run our:compile && npm run our:verify | ||
fi | ||
# Custom notifications | ||
- "$HOME/.npm" | ||
- "$HOME/.yarn-cache" | ||
install: | ||
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/1ec050bc004d0e2161cb5286c247850d24aecc02/scripts/node-install.bash)" | ||
before_script: | ||
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/1ec050bc004d0e2161cb5286c247850d24aecc02/scripts/node-verify.bash)" | ||
after_success: | ||
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/1ec050bc004d0e2161cb5286c247850d24aecc02/scripts/surge.bash)" | ||
- eval "$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/1ec050bc004d0e2161cb5286c247850d24aecc02/scripts/node-publish.bash)" | ||
notifications: | ||
slack: | ||
secure: HjWovLqeen80YP30cH0RUas4w+xqLSqBh/KvM09u6ssi4To53VRSqIV2GKxmjDW9699cfpgtDJCuskeelH3zjbMlYUM2rz2nHP19ekwX4zWPD0w0p521v/xIxp1BcFcLZDAZqkOUulmaJrq6YYbKHyKMfkZxyC4aSr/wqKKfED8= | ||
secure: APH0+C3fwf1ls+vHaWO5vqHbNccP5P2XOl8VOYprTGj9h+PONFqRHfu8Lye/NaIctKHy6htsledIF4ncySZuUaRM3msqkZXemZaPA8qFOvaMMYTX2L6f3ZeYsY44X82KTn+URuXRetIsl1JjJqfEZURWErLd13neUYqQxFY2HMM= | ||
email: | ||
recipients: | ||
secure: HUNHmy+reXJEGd4R9GWvERH6PTXqsdqxDeIGvlG2aYI6TxT5gI3qJngQcNQSj750j0VHw+aToE14F6ohsshFUmghRuz3zfhhTPSr4L65p5oP7iJlWIwy0Vdtehba2+C50WK1Dit8Mlb1cQa0TjDOUd/ipdBdiLQkpkQL6YQ+dqA= | ||
secure: K6EQ2kjMpAPQmIQ39PMf8WBQtnhmsuI8Bni4aOM2zXljLFOprwgfG742myMFKTuDoMNfNWaUFmchmIXTkD5/p08OxO7tGqD/pdC2pu70BGrXYxyz+6mvtExMbDf3x1f9A7qgiQkBrIptqw8YJcNRqhBeZ6+vYCgY18TmR87dBz0= |
Oops, something went wrong.