{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/47","labels_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/47/comments","events_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/47/events","html_url":"https://github.com/OfficeDev/Open-XML-SDK/pull/47","id":95933103,"number":47,"title":"Enable AppVeyor and Travis CI","user":{"login":"ThomasBarnekow","id":8481516,"avatar_url":"https://avatars.githubusercontent.com/u/8481516?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBarnekow","html_url":"https://github.com/ThomasBarnekow","followers_url":"https://api.github.com/users/ThomasBarnekow/followers","following_url":"https://api.github.com/users/ThomasBarnekow/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBarnekow/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBarnekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBarnekow/subscriptions","organizations_url":"https://api.github.com/users/ThomasBarnekow/orgs","repos_url":"https://api.github.com/users/ThomasBarnekow/repos","events_url":"https://api.github.com/users/ThomasBarnekow/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBarnekow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-19T17:16:10Z","updated_at":"2015-07-20T14:51:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/pulls/47","html_url":"https://github.com/OfficeDev/Open-XML-SDK/pull/47","diff_url":"https://github.com/OfficeDev/Open-XML-SDK/pull/47.diff","patch_url":"https://github.com/OfficeDev/Open-XML-SDK/pull/47.patch"},"body":"Here are the things I've done to enable CI for the Open-XML-SDK:\r\n\r\n* Add appveyor.yml and .travis.yml to configure CI servers, skipping unit tests\r\non Travis CI for the time being. Due to a bug in Mono, we can't xUnit 2.0 tests.\r\n\r\n* Fix ValidationResources.resx by correcting the binary file names. Those file\r\nnames did not have the correct case in the .resx file, leading to an error\r\non Travis CI.\r\n\r\n* Fix OpenXmlPackage.cs by replacing a constant with a string. This was necessary\r\ndue to a weird error message on Travis CI.\r\n\r\n* Add *.DotSettings files to .gitignore.\r\n\r\n* Enable NuGet Package Restore to automatically download the required NuGet\r\npackages during the build process.\r\n\r\n* Add build.open-xml-sdk.cmd to provide a way to build and run unit tests on\r\nthe command line.\r\n\r\nTo actually use AppVeyor (see http://www.appveyor.com) and Travis CI (see https://travis-ci.org), you will have to sign up using the OfficeDev account. This adds web hooks which will trigger AppVeyor and Travis CI builds. Both AppVeyor and Travis CI should then use the GitHub Status API to tell you whether pull requests pass or fail the checks.\r\n\r\nFor the Windows platform, AppVeyor will build the Open-XML-SDK solution and run all tests contained in the Open-XMK.SDK.Tests and System.IO.Packaging.Tests projects. Passing that check means the Open XML SDK, including System.IO.Packaging, builds and passes all tests.\r\n\r\nWith Travis CI, we are currently testing whether the SDK, including System.IO.Packaging, can be built on Mono. Due to a bug in Mono, we can't currently run the xUnit 2.0 based tests. We'll have to activate tests at a later point in time."},"comment":{"url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/comments/122909328","html_url":"https://github.com/OfficeDev/Open-XML-SDK/pull/47#issuecomment-122909328","issue_url":"https://api.github.com/repos/OfficeDev/Open-XML-SDK/issues/47","id":122909328,"user":{"login":"ThomasBarnekow","id":8481516,"avatar_url":"https://avatars.githubusercontent.com/u/8481516?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBarnekow","html_url":"https://github.com/ThomasBarnekow","followers_url":"https://api.github.com/users/ThomasBarnekow/followers","following_url":"https://api.github.com/users/ThomasBarnekow/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBarnekow/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBarnekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBarnekow/subscriptions","organizations_url":"https://api.github.com/users/ThomasBarnekow/orgs","repos_url":"https://api.github.com/users/ThomasBarnekow/repos","events_url":"https://api.github.com/users/ThomasBarnekow/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBarnekow/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T14:51:38Z","updated_at":"2015-07-20T14:51:38Z","body":"@EricWhiteDev and @akoeplinger I've already added a Mono build script, replacing the legacy Makefile-Linux-Mono. I thought this was easy enough and is also related to this PR so it didn't make sense to me to create a second PR for this. In conjunction with the other commit, we now have build scripts for Windows and Mono (which I tested on Mac OS X with Mono 4.0.2). "}}