Open main menu

CDOT Wiki β

Changes

DPS909 & OSD600 Fall 2018

1,487 bytes added, 12:59, 17 November 2018
no edit summary
** [https://eslint.org/ eslint]
* Complete your [[OSD & DPS909 Fall 2018 Release 0.3]]
 
== Week 11 ==
 
* 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