0

What are the ways to check that all the .sol files in a github repository can be successfully compiled (like travis, circle etc)?

Basically I want to check that in an open repository there is no compilation error in the contracts being pushed. If contract compilation fails, PR/build fails.

  • Can you clarify your question? There is definitely a compiler error, so it sounds like you are making some wrong assumption here. If there is no compiler error then can you show all steps and expected output and actual output you are doing. – Mikko Ohtamaa Jun 4 at 11:47
  • It's like we consider in travis that all tests are running fine to pass a build, similarly all contracts are successfully compiled for passing the build. I hope now you got it. – Aniket Jun 5 at 6:29
0

Without an integrated tool it is difficult and you're left to clone and verify locally. Perhaps Truffle Teams is worth a look for your use case.

  • Seems a better solution. I am analysing if it can work the way i want. Thanks for a great suggestion ! – Aniket Jun 5 at 6:34
  • It says: "Currently, Truffle Teams only supports the native truffle development network." ...... Mine is not a truffle project. – Aniket Jun 5 at 8:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.