1
0
Fork 0

ci(travis): optimize

pull/527/head
Felix Becker 2017-11-09 18:48:02 -08:00
parent b4a3134e2a
commit 857fe26eb5
1 changed files with 2 additions and 3 deletions

View File

@ -15,16 +15,15 @@ env:
cache: cache:
directories: directories:
- $HOME/Library/Caches/Homebrew
- $HOME/.composer/cache - $HOME/.composer/cache
- $HOME/.npm - $HOME/.npm
install: install:
- git submodule update --init --jobs 9
- composer install --prefer-dist --no-interaction - composer install --prefer-dist --no-interaction
script: script:
- vendor/bin/phpcs -n - vendor/bin/phpcs -n
- vendor/bin/phpunit --coverage-clover=coverage.xml - vendor/bin/phpunit --coverage-clover=coverage.xml
after_script:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
jobs: jobs:
@ -51,7 +50,7 @@ jobs:
- git fetch --tags - git fetch --tags
install: install:
- npm install - npm install
script: after_success:
- npm run semantic-release - npm run semantic-release
stages: stages: