Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
feat(node-8): Adding nodejs 8 support on ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Apr 9, 2018
1 parent 51ec96a commit 0c481d0
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
sudo: required
dist: trusty
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
- "stable"

env:
- NPM_VERSION=4 DISPLAY=:99
- NPM_VERSION=3 DISPLAY=:99
matrix:
- NODE_VERSION="4" NPM_VERSION="3" DISPLAY=:99
- NODE_VERSION="5" NPM_VERSION="3" DISPLAY=:99
- NODE_VERSION="5" NPM_VERSION="3" DISPLAY=:99
- NODE_VERSION="6" NPM_VERSION="3" DISPLAY=:99
- NODE_VERSION="6" NPM_VERSION="4" DISPLAY=:99
- NODE_VERSION="7" NPM_VERSION="3" DISPLAY=:99
- NODE_VERSION="7" NPM_VERSION="4" DISPLAY=:99
- NODE_VERSION="8" NPM_VERSION="5" DISPLAY=:99
- NODE_VERSION="9" NPM_VERSION="5" DISPLAY=:99

cache:
directories:
- "node_modules"

before_install:
- jdk_switcher use oraclejdk8
# Prepare node and npm
- nvm install $NODE_VERSION && nvm use $NODE_VERSION
- npm install -g npm@$NPM_VERSION
- jdk_switcher use oraclejdk8
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 +extension RANDR -ac -screen 0 1280x1024x16"
before_script:
- npm install -g grunt
Expand Down

0 comments on commit 0c481d0

Please sign in to comment.