ci(travis): optimize
parent
b4a3134e2a
commit
857fe26eb5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue