sharedstreets / sharedstreets-js

SharedStreets (Node.js & Javascript)
https://sharedstreets.io
MIT License
78 stars 25 forks source link

Adding TravisCI automated Testing (Need approval by admin) #8

Closed DenisCarriere closed 6 years ago

DenisCarriere commented 6 years ago

@kpwebb Would be nice to set up TravisCI to have some automated testing at each build.

Just waiting for you to approve the GitHub request. (I'm not admin so I can't do it, ** could you add me as admin to sharedstreets org?)

image

Travis is free to use, it's awesome.

travis-ci.org

The config to set it up are minimal, example with TurfJS

https://github.com/Turfjs/turf/blob/master/.travis.yml

.travis.yml

language: node_js
cache: yarn
node_js:
  - node
kpwebb commented 6 years ago

yes! Adding now. Also want to set up something that integrates testing of the java and JS modules to help catch things like the ID errors. That's going to be a bit tricky (integrate JS test module into Java tests), but totally worth doing... adding a ticket now.

kpwebb commented 6 years ago

Done!

kpwebb commented 6 years ago

Also adding you to admin!

DenisCarriere commented 6 years ago

👍 Nice! TravisCI is setup for both sharedstreets & sharedstreets-pbf, I'll include a little badge in their READMEs