delphi icon indicating copy to clipboard operation
delphi copied to clipboard

Implement Continuous Integration

Open kytrinyx opened this issue 9 years ago • 10 comments

Implement a test suite that can run both locally and on Travis CI, that verifies that the example code passes the test suite for each exercise.

Things to consider:

If some tests are marked as skipped or pending in some way, then CI should remove these annotations so that all the tests run against the example, not just the first test.

If we need to rewrite the files in any way, we should copy the exercise to a tmp directory first, so that we don't accidentally end up committing changes that are just for continuous integration or testing purposes.

We should make it possible to test just one exercise at a time, because testing everything can take a while, and very often people are just working on one exercise and will only need to run the full test suite before committing the change.

kytrinyx avatar Oct 03 '16 14:10 kytrinyx

@kytrinyx does Travis do Windows? @kotp and I are concerned that it might not. Yes, I know, I made a pun'y.

rpottsoh avatar Feb 02 '17 16:02 rpottsoh

@rpottsoh I don't know. I don't think so. Will AppVeyor work?

kytrinyx avatar Feb 12 '17 22:02 kytrinyx

Good question. I am not familiar with AppVeyor. Will go read about now.

rpottsoh avatar Feb 12 '17 22:02 rpottsoh

At quick glance it looks like it provides a VM in which we would need to install Windows for Delphi to run on or is AppVeyor providing Windows too? This looks promising. Thanks for pointing it out.

rpottsoh avatar Feb 12 '17 22:02 rpottsoh

Reference links, @rpottsoh ??

kotp avatar Feb 13 '17 22:02 kotp

AppVeyor landing page Documentation

rpottsoh avatar Feb 13 '17 22:02 rpottsoh

Just noticed file appveyor.yml sitting in xcsharp. I'm assuming AppVeyor is already in use by some tracks.

rpottsoh avatar Feb 13 '17 23:02 rpottsoh

Yeah, C#, F#, and it's also turned on for VB.NET and (now) Delphi.

kytrinyx avatar Feb 14 '17 14:02 kytrinyx

@kotp how do we proceed? I am out of my element here, but interested to watch, learn and help.

rpottsoh avatar Feb 14 '17 15:02 rpottsoh

We can work it after your happy anniversary weekend!

kotp avatar Feb 17 '17 23:02 kotp