CommonGarden / Grow-IoT

Software packages for smart growing environments.
http://commongarden.org/
Other
25 stars 6 forks source link

Get Travis CI working #322

Closed JakeHartnell closed 7 years ago

camillevilla commented 7 years ago

Hey! I've been working with Travis a lot lately. I've only been using it in Rails, not Node, but would love to take a shot at getting this set up.

JakeHartnell commented 7 years ago

@camillevilla cool! Shouldn't be too different. Just need a travis.yml file, and here's info on customizing it for node: https://docs.travis-ci.com/user/languages/javascript-with-nodejs

camillevilla commented 7 years ago

@JakeHartnell can you tell me more about what LAIKA_OPTIONS="-t 5000 is accomplishing in the .travis.yml file? A comment about the before_install curl command would be helpful too.

I was able to get a successful build job by using a newer version of g++ in our .travis.yml.

Here's the error message for future reference:

Starting with io.js 3 and Node.js 4, building native extensions requires C++11-compatible compiler, which seems unavailable on this VM.

camillevilla commented 7 years ago

And here's the branch I'm working on: https://github.com/CommonGarden/Grow-IoT/tree/travis-config

JakeHartnell commented 7 years ago

Build passing! Yay! Thanks for looking into this @camillevilla.