Skip to content

Commit

Permalink
Update node in travis, remove unsupported php
Browse files Browse the repository at this point in the history
Note: We specify CXX env because v8 requires a C++11 compiler
  • Loading branch information
QWp6t authored and retlehs committed Mar 11, 2016
1 parent e51e41e commit 8712dc8
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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

0 comments on commit 8712dc8

Please sign in to comment.