Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
chore: Add support for Node 8
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Jan 18, 2018
1 parent 9e97212 commit f8d7415
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ before_install:
# Travis CI has only shallow clone of the repository. We need to get the 'master' branch
# so 'conventional-changelog-lint' could compare commits and lint them: marionebl/conventional-changelog-lint#7
- "git remote set-branches origin master && git fetch && git checkout master && git checkout -"
- "npm -g install npm@4"
- "npm -g install npm@5"
install: "npm install --no-optional"
jobs:
include:
- stage: "code/docs/commits quality checks"
node_js: "6"
node_js: "8"
script: "npm run lint"
- stage: "tests & code coverage"
node_js: "4"
script: "npm run test:coverage && npm run coveralls"
- node_js: "6"
script: "npm run test:coverage && npm run coveralls"
- node_js: "8"
script: "npm run test:coverage && npm run coveralls"
- stage: "semantic release"
node_js: "6"
node_js: "8"
script: " npm run semantic-release || true"
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
environment:
nodejs_version: "6"
nodejs_version: "8"
install:
- ps: Install-Product node 6
- "npm -g install npm@latest"
- ps: Install-Product node 8
- "npm -g install npm@5"
- "set PATH=%APPDATA%\\npm;%PATH%"
- "npm install --no-optional"
cache:
Expand Down
4 changes: 2 additions & 2 deletions docs/install-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if [ "$READTHEDOCS" = 'True' ]; then
fi
. ~/.nvm/nvm.sh

nvm install 6
nvm use 6
nvm install 8
nvm use 8

npm install --no-optional

Expand Down
6 changes: 3 additions & 3 deletions provisioning.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
sudo apt-get install -y mc curl git-core build-essential
sudo su vagrant -c 'curl -L https://raw.github.com/creationix/nvm/master/install.sh | sh'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh; nvm install v6'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm use v6'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm alias default v6'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh; nvm install v8'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm use v8'
sudo su vagrant -c '. ~vagrant/.nvm/nvm.sh;nvm alias default v8'

0 comments on commit f8d7415

Please sign in to comment.