667
edits
Changes
→Week 13
* Automating build, test, and deploy steps with Travis CI
** https://docs.travis-ci.com/
** https://docs.travis-ci.com/user/for-beginners/
* Travis uses YAML for configuration
** YAML Ain't Markup Language (YAML)
** https://en.wikipedia.org/wiki/YAML
** Usually uses the .yml extension
** https://learnxinyminutes.com/docs/yaml/
* Stages of a Travis CI Build
** https://docs.travis-ci.com/user/customizing-the-build/#The-Build-Lifecycle
** Adding OS-level dependencies https://docs.travis-ci.com/user/installing-dependencies/
* Running Tests per Commit/PR
** https://docs.travis-ci.com/user/languages/javascript-with-nodejs/
** Assumes you want to `npm install` and run `npm test`
** Therefore, you need a working install and test process via `package.json`
* Deploy to GitHub and gh-pages
** https://pages.github.com/
** https://help.github.com/categories/github-pages-basics/
** Enable HTTPS https://help.github.com/articles/securing-your-github-pages-site-with-https/
** Custom 404 page https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
** https://docs.travis-ci.com/user/deployment/pages/
* Some example .travis.yml files in OSS projects
** https://github.com/Microsoft/vscode/blob/master/.travis.yml
** https://github.com/devtools-html/debugger.html/blob/master/.travis.yml
** https://github.com/brave/browser-laptop/blob/master/.travis.yml
** https://github.com/datalocale/dataviz-finances-gironde/blob/master/.travis.yml
* Custom Domians
** https://help.github.com/articles/using-a-custom-domain-with-github-pages/
** $0.99 .ca domains https://cira.ca/