ucsdscheduleplanner / UCSD-Schedule-Planner

A project to help UCSD students plan their schedules quickly and easily.
https://sdschedule.com/
MIT License
7 stars 2 forks source link

Add CI support for build test and auto deploy #79

Open snowme34 opened 5 years ago

snowme34 commented 5 years ago

Attempt to add travis-ci

Will find a way to auto deploy, either pull from docker hub (travis ci push the image), or use webhook to trigger the server to pull, rebuild, restart.

snowme34 commented 5 years ago

Travis ci deploy

Travis ci deploy script

We might want to only run the test for pull requests

https://stackoverflow.com/questions/31882306/how-to-configure-travis-ci-to-build-pull-requests-merges-to-master-w-o-redunda

snowme34 commented 5 years ago

For yarn:

https://yarnpkg.com/en/docs/install-ci#travis-tab

https://github.com/travis-ci/travis-ci/issues/6720#issuecomment-285981417