Skip to content

Commit

Permalink
v1.5.2. Ask user for desired node version.
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jan 24, 2018
1 parent edaeafa commit f144d1d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ cache:
- "$HOME/.npm"
- "$HOME/.yarn-cache"
install:
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/e6452af2b45ed487adbd002e9560acb759a1b5b9/scripts/node-install.bash)"
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/ef794235b7094de5e49fb64e226da032ce135ecd/scripts/node-install.bash)"
before_script:
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/e6452af2b45ed487adbd002e9560acb759a1b5b9/scripts/node-verify.bash)"
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/ef794235b7094de5e49fb64e226da032ce135ecd/scripts/node-verify.bash)"
after_success:
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/e6452af2b45ed487adbd002e9560acb759a1b5b9/scripts/node-publish.bash)"
- eval "$(curl -s https://raw.githubusercontent.com/bevry/awesome-travis/ef794235b7094de5e49fb64e226da032ce135ecd/scripts/node-publish.bash)"
notifications:
slack:
secure: sv7WcYPYoXrC7Tle2VE50HbfQJHUYnxk+fvBkuS3LrUwsJDip1/EEPcbVfgj5P64tjwpA/F8n2JYVQpGFchUrpkUtHwjZeEG1c5I9umZCFnBFkTwF7xjz1gzqEokVGA6/GvCUYD7rJgDMzdU1gfYsncIAIZW/FAO6fxM5i3smN8Z6mCF5JoIHV3tP42rmS151LFIThnPGaXxQ+FPheRItMfJO+Xga1sb8jJN+TxbD/meycFS54DpbCkjWcWeX/SCL2IVF+5tES62EUbk2mOubNYTzv/UMQJ2+KAPrzZDUUkzmmhPw8zr5/kbGzN8x21MyGAdpHNk0SusTRu1JM7nCRTaY+jZF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Oq5o83JWWFl1QvJMhCuvMFW6AJl/ZYTnpK9JuDkObhsfRcf0KyuBOPyD2ZKogBy/5PhAJKp58fpxP1+8AzwP8kxDZuEcK1mXhmwHdUUgmvWh0839zMPzcEDfHovJrWH6BcmEdvebjEETjguD0I0JY7Sk9kdQnSH4FJLBt5WhuBL24u4ydjCZqpHJGeL0OwzcNiJppNmNEvV3DWVzJMUKUIDbF9vFXxKsWIzjJeDM=
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# History

## v1.5.2 2018 January 24
- Ask for the desired node version instead of guessing it
- Updated base files

## v1.5.1 2018 January 24
- Updated base files

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bevry-base",
"version": "1.5.1",
"version": "1.5.2",
"description": "Automatic application of the Bevry base files /bevry/base",
"homepage": "https://github.com/bevry/based",
"license": "MIT",
Expand Down
9 changes: 8 additions & 1 deletion source/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,12 @@ async function getQuestions () {
default: getPackageNodeVersion() || '0.8',
validate: isNumber
},
{
name: 'desiredNodeVersion',
message: 'What is the desired node version it should run against?',
default: getPackageNodeVersion() || '8',
validate: isNumber
},
{
name: 'babel',
type: 'confirm',
Expand Down Expand Up @@ -838,6 +844,7 @@ async function init () {
matrix: {
fast_finish: true,
allow_failures: [
// https://github.com/nodejs/LTS
{ node_js: '0.8' },
{ node_js: '0.10' },
{ node_js: '0.12' },
Expand Down Expand Up @@ -867,7 +874,7 @@ async function init () {
// these spawns must be run serially, as otherwise not all variables may be written, which is annoying
console.log('travis environment variables')
await util.spawn(['travis', 'enable'])
await util.spawn(['travis', 'env', 'set', 'DESIRED_NODE_VERSION', travis.node_js[travis.node_js.length - 1], '--public'])
await util.spawn(['travis', 'env', 'set', 'DESIRED_NODE_VERSION', answers.desiredNodeVersion, '--public'])
if (answers.docs) {
await util.spawn(['travis', 'env', 'set', 'SURGE_LOGIN', answers.surgeLogin, '--public'])
await util.spawn(['travis', 'env', 'set', 'SURGE_TOKEN', answers.surgeToken])
Expand Down

0 comments on commit f144d1d

Please sign in to comment.