cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] stevengill commented on a change in pull request #760: CB-13543 : updated instructions/documentation around travis build/dep?
Date Thu, 01 Jan 1970 00:00:00 GMT
stevengill commented on a change in pull request #760: CB-13543 : updated instructions/documentation
around travis build/dep?
URL: https://github.com/apache/cordova-docs/pull/760#discussion_r151225869
 
 

 ##########
 File path: doc/building-and-deploying-the-website.md
 ##########
 @@ -0,0 +1,20 @@
+## Building and Deploying (Automated)
+
+### Testing
+
+After you are finished developing and making your changes, make sure to test them. Run:
+
+	npm test
+
+`npm test` runs both [eslint] and [mocha] tests. If your tests pass, commit and push your
work to Github.
+
+### Travis 
+
+[Travis] automatically builds and publishes the website on every change. In [travis.yml](../.travis.yml),
Travis  installs required dependencies and runs the build script. Travis will build the full
website for you by running `gulp build --prod` under the hood. Travis also uses [SVN] to update,
copy, add, and commit the new changes over to the website. Committing to svn can only occur
once the commit has been merged to master. You can read more about is happening under the
hood with SVN [here](deploying-the-website.md). Travis also runs `npm test` and will notify
you if any of your `eslint` or `mocha` tests are failing. When Travis is done building and
deploying, send a pull request and ask for a review.
 
 Review comment:
   yes. Tests will run on branches/prs. Deploy only happens on master

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message