rui314 / 8cc

A Small C Compiler
MIT License
6.12k stars 742 forks source link

Run tests on travis #72

Open shalupov opened 8 years ago

shalupov commented 8 years ago

I've wrote a simple .travis.yml file for testing compiler on Travis CI: https://travis-ci.org/ Build status is green for my fork: https://travis-ci.org/shalupov/8cc/branches

Enabling this will automatically run tests for every commit and also for every pull request.

For enabling travis for your project you just need to log in with GitHub account on https://travis-ci.org and enable it for the repository.

andrewchambers commented 8 years ago

To be honest, I wish travis didn't require code to be in the repo to work, in general I feel like the code will outlive the travis ci company.

shalupov commented 8 years ago

Yep. On the other hand, it works as documentation how to run tests as well. I wish the format was not travis dependent.