Skip to content

Commit 857fe26

Browse files
committed
ci(travis): optimize
1 parent b4a3134 commit 857fe26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@ env:
1515

1616
cache:
1717
directories:
18+
- $HOME/Library/Caches/Homebrew
1819
- $HOME/.composer/cache
1920
- $HOME/.npm
2021

2122
install:
22-
- git submodule update --init --jobs 9
2323
- composer install --prefer-dist --no-interaction
2424
script:
2525
- vendor/bin/phpcs -n
2626
- vendor/bin/phpunit --coverage-clover=coverage.xml
27-
after_script:
2827
- bash <(curl -s https://codecov.io/bash)
2928

3029
jobs:
@@ -51,7 +50,7 @@ jobs:
5150
- git fetch --tags
5251
install:
5352
- npm install
54-
script:
53+
after_success:
5554
- npm run semantic-release
5655

5756
stages:

0 commit comments

Comments
 (0)