projectchicago / gastoken

⛽ Tokenize gas on Ethereum with GasToken ⛽
https://gastoken.io
718 stars 89 forks source link

Use Travis CI to run tests on all code changes #4

Closed cclauss closed 4 years ago

cclauss commented 6 years ago

Every time someone submits a pull request, Travis Continuous Integration service can run the tests on it before it is reviewed. Travis is always free to opensource projects like this one but the owner of the this repo would need to go to https://travis-ci.org/profile and flip the repository switch on to enable testing.

lorenzb commented 6 years ago

Thanks for your PR @cclauss!

Travis jobs are automatically killed after 50 minutes and our full test suite typically takes longer than that.

A potential solution might be to split the travis build into a few different jobs.

lorenzb commented 6 years ago

Travis is enabled

cclauss commented 6 years ago

I will need your guidance on why the tests are not running:

cclauss commented 6 years ago

This one sets a new record! https://travis-ci.org/projectchicago/gastoken/builds/351671585#L499

;-)

lorenzb commented 6 years ago

Tests are failing because the solidity compiler solc isn't available in the travis environment. Installation instructions are here.

cclauss commented 6 years ago

'elopio' installed but it does not seem to help.

cclauss commented 6 years ago

@lorenzb When you get a minute, can you take a look at https://travis-ci.org/projectchicago/gastoken/builds/351692281#L725and let me know what is missing?