From 7e94707df72a50b95f0178d85c3dd5beb88c907e Mon Sep 17 00:00:00 2001 From: Hannu Pelkonen Date: Thu, 30 Oct 2014 11:46:55 +0200 Subject: [PATCH] Update GCC in travis.yml. Fix build --- .travis.yml | 8 ++++++++ package.json | 13 ++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 41f9fd19..3637af45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,14 @@ node_js: - '0.10' script: - ./node_modules/gulp/bin/gulp.js build && npm test +before_install: +- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; +- sudo apt-get update; +- sudo apt-get install gcc-4.8 g++-4.8; +- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20; +- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20; +- sudo g++ --version; +- sudo apt-get update -qq; notifications: email: false slack: diff --git a/package.json b/package.json index 5cb90531..228cf67e 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,13 @@ }, "main": "./lib/styleguide.js", "dependencies": { - "body-parser": "^1.9.1", + "body-parser": "^1.9.2", "chalk": "^0.5.1", "cookie-parser": "^1.3.3", "css": "^2.1.0", "debug": "~2.1.0", "event-stream": "^3.1.7", - "express": "^4.10.0", + "express": "^4.10.1", "gonzales-ast": "0.0.5", "gonzales-pe": "^3.0.0-10", "gulp": "^3.8.9", @@ -33,8 +33,7 @@ "gulp-marked": "^1.0.0", "gulp-mustache": "^1.0.0", "gulp-rename": "^1.2.0", - "gulp-ruby-sass": "^0.7.1", - "gulp-sass": "^1.2.0", + "gulp-sass": "^1.2.2", "gulp-util": "^3.0.1", "jade": "^1.7.0", "kss": "^1.2.0", @@ -48,7 +47,7 @@ "run-sequence": "^1.0.1", "sanitize-html": "^1.4.3", "serve-favicon": "^2.1.6", - "socket.io": "^1.1.0", + "socket.io": "^1.2.0", "through2": "^0.6.3", "vinyl": "^0.4.3", "vinyl-fs": "^0.3.10", @@ -61,7 +60,7 @@ "gulp-flatten": "0.0.4", "gulp-ignore": "^1.2.1", "gulp-jscs": "^1.2.1", - "gulp-jshint": "^1.8.5", + "gulp-jshint": "^1.8.6", "gulp-pleeease": "^1.0.4", "gulp-plumber": "^0.6.6", "gulp-sourcemaps": "^1.2.4", @@ -74,7 +73,7 @@ "main-bower-files": "^2.1.0", "mocha": "^2.0.1", "multiline": "^1.0.1", - "sinon": "^1.11.0", + "sinon": "^1.11.1", "sinon-chai": "^2.6.0", "tiny-lr": "^0.1.4" },