This repository was archived by the owner on Jan 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +267
-1825
lines changed Expand file tree Collapse file tree 3 files changed +267
-1825
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,26 @@ notifications:
6677 on_success : never
88 on_failure : always
9- perl :
10- - " 5.28"
11- - " 5.26"
129cache :
1310 directories :
1411 - " ~/.npm"
1512 - " node_modules"
13+ perl :
14+ - " 5.28"
15+ - " 5.26"
16+ # Trigger a push build on master and dependabot branches + PRs build on every branches
17+ # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
18+ branches :
19+ only :
20+ - master
21+ - /^dependabot.*$/
1622script :
17- - ./scripts/coverage.sh
18- after_success :
19- - if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]]; then
20- ./scripts/generatedocs.sh &&
21- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/* &&
22- git fetch --tags &&
23- nvm install lts/* &&
24- nvm use lts/* &&
25- npm prune &&
26- npm i &&
27- npx travis-deploy-once "npx semantic-release" ; fi
23+ - ./scripts/coverage.sh
24+ jobs :
25+ include :
26+ - stage : release
27+ node_js : lts/*
28+ script :
29+ - npm prune
30+ - travis_retry npm i
31+ - npx semantic-release
You can’t perform that action at this time.
0 commit comments