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

CI builds #19

Closed
wants to merge 3 commits into from
Closed

CI builds #19

wants to merge 3 commits into from

Conversation

jdub
Copy link

@jdub jdub commented Apr 1, 2017

  • Travis CI tests Rust stable, beta, and nightly on Linux and macOS
  • Appveyor tests Rust stable and beta on Windows with MSVC and MSYS/GNU
  • Badges for both

@jdub
Copy link
Author

jdub commented Apr 1, 2017

During this month's Bay Area Rust Meetup (which I watched via Air Mozilla), you made an offhand comment about desiring CI support. Presto! The Internet delivers. ✨

Notes:

Neither configuration runs tests on stable, because you're using unstable test features. A quick tweak if and when you get around to it: Just drop --only nightly.

Both configurations build docs for stable, but don't do anything with them. It's a good thing to test, and with https://docs.rs/ we don't need to upload documentation anymore anyway.

The Appveyor configuration doesn't build nightly, and thus doesn't run tests, due to a bug in travis-cargo on Windows. I suspect travis-cargo hasn't been used on Windows before, but I decided to use it in support of community infrastructure.

The Appveyor configuration produces a build artifact of the lorem-ipsum example. I'll probably follow up with a quick patch to include Nimbus in the binary, and make the path parameter optional, so it works out of the box.

I included an MSYS/GNU build in the Appveyor configuration mainly as an example. Not sure if you care about it.

You'll need to change the badge paths once you've merged this and set up Travis CI and Appveyor appropriately.

Here's a happy Travis build, and a happy Appveyor build. Enjoy!

@pcwalton
Copy link
Contributor

pcwalton commented Oct 7, 2017

Sorry this slipped through the cracks. :(

This a PR against Pathfinder 1, which is obsolete and has been removed.

@pcwalton pcwalton closed this Oct 7, 2017
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