Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis and appveyor #27

Merged
4 commits merged into from
May 9, 2018
Merged

Travis and appveyor #27

4 commits merged into from
May 9, 2018

Conversation

ghost
Copy link

@ghost ghost commented May 8, 2018

This PR sets up travis and appveyor using autoci (thanks @yomimono!).

@ghost ghost requested a review from xclerc as a code owner May 8, 2018 13:34
@ghost
Copy link
Author

ghost commented May 8, 2018

Ok, this seems to be working. Some of the tests are failing under older version of OCaml though

Copy link
Contributor

@xclerc xclerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with the earlier versions of OCaml is that Warnings.report
(that is used to implement expect tests) does not exist.
As for instance OCaml 4.04 does not provide the hooks to implement
expect tests, I do not see how we can run the tests (unless we have a
different code path, but that seems overkill).

Would it make sense to run the tests only on the versions that can compile
expect tests, and only check that we can build on previous versions?

@@ -39,6 +39,30 @@ module Make(M : sig
match t.ptyp_desc with
| Ptyp_extension ({ txt = "t"; _}, _ as ext)-> M.cast ext
| _ -> super#core_type t

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should probably not be part of this PR.

Copy link
Contributor

@xclerc xclerc May 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(sorry, I meant the support for the new quotations - commit a836f08)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@@ -0,0 +1,13 @@
language: c
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suddenly feel sad. (but OCaml is not listed here)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed :(

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue about it here: ocaml/ocaml-ci-scripts#53 ; there is a path for becoming a "community-supported language", which requires at least 3 community contributors interested in maintaining the support. We have 2 so far!

@ghost
Copy link
Author

ghost commented May 9, 2018

Would it make sense to run the tests only on the versions that can compile
expect tests, and only check that we can build on previous versions?

Yes, let me check if we can do that

@ghost
Copy link
Author

ghost commented May 9, 2018

The last commit seems to do the trick

@xclerc
Copy link
Contributor

xclerc commented May 9, 2018

Excellent!

@ghost ghost merged commit 275dcb4 into master May 9, 2018
@ghost ghost deleted the ci branch May 23, 2018 10:08
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants