Skip to content

Commit

Permalink
Try to fix travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 4, 2017
1 parent 7aec8ba commit 07c793d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false

language:
- php
- node_js
language: php

notifications:
email:
Expand All @@ -18,6 +16,12 @@ cache:
- 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

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

before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
Expand Down

0 comments on commit 07c793d

Please sign in to comment.