qwertie / ecsharp

Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
http://ecsharp.net
Other
172 stars 25 forks source link

Continuous integration #34

Closed jonathanvdc closed 8 years ago

jonathanvdc commented 8 years ago

This PR adds appveyor.yml and .travis.yml CI configuration files. I had to create a separate solution Loyc-Slim.sln, because I couldn't resolve some Baadia/LoycCore.Benchmarks dependencies.

Additionally, I tweaked some files to make them compile with xbuild and mcs. Atom seems to have made some unnecessary white-space changes as well. Sorry about that.

qwertie commented 8 years ago

Merged. But why are there two version numbers in AppVeyor.yml? Do I have to set up CI separately for my copy of the repo?

jonathanvdc commented 8 years ago

Yes. Fortunately, setting up Travis and AppVeyor CI is easy: just go to https://ci.appveyor.com/, register with your GitHub account, and add ecsharp to your list of CI projects there. The process at https://travis-ci.org/ is highly similar.

After that, you can get an AppVeyor badge by visiting https://ci.appveyor.com/project/qwertie/ecsharp/settings/badges after setting up AppVeyor. The Travis CI badge can be found right next to your project's name at the top of the screen at https://travis-ci.org/ once you've set that up. I recommend adding both badges to your README, like so (the badges included below are the CI badges for Flame, so you'll have to change the URLs):

# Build Status

Linux | Windows
----- | -------
[![Build Status](https://travis-ci.org/jonathanvdc/Flame.svg?branch=master)](https://travis-ci.org/jonathanvdc/Flame) | [![Build status](https://ci.appveyor.com/api/projects/status/yoe8u6g1p74570ir?svg=true)](https://ci.appveyor.com/project/jonathanvdc/flame)

Which looks like this:

Build Status

Linux Windows
Build Status Build status