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

Add function use_appveyor() similar to use_travis() #549

Merged
merged 6 commits into from
Jan 12, 2015
Merged

Add function use_appveyor() similar to use_travis() #549

merged 6 commits into from
Jan 12, 2015

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Aug 12, 2014

AppVeyor is a Windows-based CI system much like Travis CI, and also free for open-source projects. I have prepared a wrapper around r-travis so that AppVeyor can be used to test R packages (and also later deploy them in binary form). It's work in progress, but I think the format of the appveyor.yml configuration file is more or less stable.

Example: Test output for a build of the rappdirs package.

Pull request follows.


#' @rdname infrastructure
#' @export
add_appveyor <- use_appveyor
Copy link
Member

Choose a reason for hiding this comment

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

Don't need add_appveyor() existing add functions will eventually be deprecated and removed.

@krlmlr
Copy link
Member Author

krlmlr commented Aug 13, 2014

I've rewritten the patch, the refactoring is now gone -- too many special cases.

#' Add basic AppVeyor template to a package. Also adds \code{appveyor.yml} to
#' \code{.Rbuildignore} so it isn't included in the built package.
#' @export
#' @aliases add_travis
Copy link
Member

Choose a reason for hiding this comment

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

You can remove that line

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed. Thanks, good catch.

@krlmlr
Copy link
Member Author

krlmlr commented Aug 16, 2014

Added a section to the .yml file so that artifacts created by the build (including binary .zip file) are deployed to AppVeyor. Ready for merging.

@robertzk
Copy link
Contributor

This is great! Hope this makes it to master some day.

Kirill Müller added 2 commits January 8, 2015 09:47
hadley added a commit that referenced this pull request Jan 12, 2015
Add function use_appveyor() similar to use_travis()
@hadley hadley merged commit 198184b into r-lib:master Jan 12, 2015
@hadley
Copy link
Member

hadley commented Jan 12, 2015

Thanks!

@krlmlr krlmlr deleted the 549-r-appveyor branch October 6, 2016 07:23
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.

3 participants