From 1ca72e0b00799781e5b8cef2057f39c9709b2524 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Wed, 23 Aug 2017 13:52:40 -0300 Subject: [PATCH] Update travis.yml. --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63ede20..1658132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,38 +1,36 @@ language: php sudo: false dist: trusty +branches: + only: + - dev + - "/\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/" php: - 7.1 - 7.0 - 5.6 - nightly - env: - TRAVIS_NODE_VERSION="6" - TRAVIS_NODE_VERSION="7" - matrix: fast_finish: true allow_failures: - php: nightly - cache: apt: true directories: - $HOME/.composer/cache - $HOME/.yarn-cache - vendor - before_install: - composer self-update - source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION - export PATH=$HOME/.yarn/bin:$PATH && travis_retry curl -o- -L https://yarnpkg.com/install.sh | bash - install: - node -v && yarn -V - travis_retry yarn - composer install -o --prefer-dist --no-interaction - script: - yarn run test - yarn run build