From 857fe26eb51ce174d90390fde8c68fc702c3e033 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 9 Nov 2017 18:48:02 -0800 Subject: [PATCH] ci(travis): optimize --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e99a2cc..3ca1f2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,16 +15,15 @@ env: cache: directories: + - $HOME/Library/Caches/Homebrew - $HOME/.composer/cache - $HOME/.npm install: - - git submodule update --init --jobs 9 - composer install --prefer-dist --no-interaction script: - vendor/bin/phpcs -n - vendor/bin/phpunit --coverage-clover=coverage.xml -after_script: - bash <(curl -s https://codecov.io/bash) jobs: @@ -51,7 +50,7 @@ jobs: - git fetch --tags install: - npm install - script: + after_success: - npm run semantic-release stages: