This repository has been archived by the owner on Dec 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
travis ci
Grimmer edited this page Jul 27, 2017
·
5 revisions
url: https://travis-ci.org/CARTAvis/carta
Done: after triggering a build, travis-ci will build CARTA mac desktop and deploy to google drive
- To check. Current travis-ci seems to build the commit of pull requests, not
the pull request + merging develop
.
Notes:
- https://docs.travis-ci.com/user/caching/: If a branch does not have its own cache, Travis CI fetches the master branch cache.
How to get a travis-ci build to test before accepting pull requests (which means merging into develop branch)? See below proposals:
- disable autobuild for branch commit and pull requests
- manually merge
feature branch
/bug fix branch
which should belong to some pull requests into atesting branch
. - use travis-ci API https://docs.travis-ci.com/user/triggering-builds/ to trigger a build for a specific branch.
Proposal-2: Just enable the auto-build feature, "Build pull request updates" on travis-ci. So every pull requests will get its auto-builds on travis-ci.
Two drawbacks:
- 1st time needs to build
Thirdparty
andcasa
(~ 40min), after that, e.g. 2nd time, it only needs to build and deploy CARTA (~ 40min)and will use caches ofThirdparty
andcasa
. - Every update on this branch will trigger a build.
Proposal-3: Disable "Build pull request updates", submit a pull request, then do one of the following ways to trigger a build to test
- Enable "Build pull request updates" temporarily, then close this pull request, then re-open again, it will trigger a build.