Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #916 from JanMikes/fix-travis-cron-monorepo-split
Browse files Browse the repository at this point in the history
Installs git subsplit before running split command
  • Loading branch information
TomasVotruba authored Jun 19, 2018
2 parents cca5446 + 4be25c2 commit f00e0c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ after_script:
php coveralls.phar --verbose;
fi
# split monorepo to packages (done via Travis Cron Job)
- if [[ $TRAVIS_EVENT_TYPE = "cron" && $MONOREPO_SPLIT != "" ]]; then bin/subtree-split-last-tag.sh; fi
- |
if [[ $TRAVIS_EVENT_TYPE = "cron" && $MONOREPO_SPLIT != "" ]]; then
git clone https://github.com/dflydev/git-subsplit.git;
cd git-subsplit && ./install.sh && cd ..;
bin/subtree-split-last-tag.sh;
fi
- |
echo $TRAVIS_EVENT_TYPE
echo $MONOREPO_SPLIT
Expand Down

0 comments on commit f00e0c1

Please sign in to comment.