From dd36629243f3211e017ae86f416e06ed49100f85 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Mon, 7 Mar 2016 18:24:35 +0100 Subject: [PATCH] TEST fixes for Node 5.x: fix devDependencies & update .travis.yml Unsupported versions dropped due to known security issues. .travis.yml fixed with *some* help from: - http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448 - https://github.com/audreyt/node-webworker-threads/blob/master/.travis.yml#L15-L25 --- .travis.yml | 22 ++++++++++++++++++++-- package.json | 1 + 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2971a47..e435dba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,31 @@ language: node_js + node_js: - - "iojs-v1.0.4" + - "5.7" + - "5.6" + - "4.3" - "0.12" - - "0.11" + - "0.10" + before_install: - sudo apt-get update -qq - sudo apt-get install python-software-properties -qq - sudo add-apt-repository ppa:ondrej/php5-5.6 -y + - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq - sudo apt-get install -qq php5 + - sudo apt-get install -qq gcc-4.8 -y + +install: + - CXX="g++-4.8" CC="gcc-4.8" npm install + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.8 + - g++-4.8 + email: on_success: never diff --git a/package.json b/package.json index 6d0dede..99bf015 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "gulp-jshint": "*", "gulp-mocha": "*", "gulp-util": "*", + "jshint": "*", "jshint-stylish": "*", "mocha": "*", "must": "*",