Skip to content

Commit

Permalink
Testing: run tests on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 4, 2017
1 parent 07c793d commit a60d52e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,13 @@ notifications:
on_success: never
on_failure: change

branches:
only:
- master

cache:
directories:
- vendor
- $HOME/.composer/cache

env:
- TRAVIS_NODE_VERSION="7"

install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
before_install:
- nvm install 6 && nvm use 6

matrix:
include:
Expand All @@ -32,7 +25,7 @@ matrix:
env: WP_VERSION=latest
- php: 5.6
env: TRAVISCI=phpcs
- php: 5.6
- php: 7.1
env: TRAVISCI=js

before_script:
Expand Down

0 comments on commit a60d52e

Please sign in to comment.