From 8712dc8e0238e7bac46cc960ddee95136a93fbe0 Mon Sep 17 00:00:00 2001 From: QWp6t Date: Sun, 20 Dec 2015 08:49:56 -0800 Subject: [PATCH] Update node in travis, remove unsupported php Note: We specify CXX env because v8 requires a C++11 compiler --- .travis.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f9d7d43f61..e66ddeebc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,37 @@ sudo: false language: php php: - - nightly + - 7.0 - 5.6 - 5.5 - - 5.4 - - hhvm + +env: + - TRAVIS_NODE_VERSION="4.2" CXX="g++-4.8" + - TRAVIS_NODE_VERSION="5.3" CXX="g++-4.8" matrix: allow_failures: - - php: nightly + - php: 5.5 + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 cache: directories: - bower_components - node_modules + - vendor install: + - source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION - npm install -g npm@latest - npm install -g bower gulp eslint + - node -v && npm -v && bower -v && gulp -v + - npm rebuild - npm install - composer self-update && composer --version - export PATH="$HOME/.composer/vendor/bin:$PATH" @@ -28,6 +41,5 @@ install: script: - npm run build - - npm run lint - phpcs --standard=ruleset.xml --extensions=php --ignore=node_modules,bower_components,vendor -n -s . - phpmd src text cleancode,codesize,controversial,design,naming,unusedcode