jvcleave / ofxImGui

Use ImGui in openFrameworks
292 stars 123 forks source link

Adding travis and appveyor cotinuous integration tests #98

Closed ofxaddons-tests closed 4 years ago

ofxaddons-tests commented 4 years ago

This is an automated pull request that enables continuous integration testing for openFrameworks addons. 1

Before merging this PR you'll need to create an account on https://travis-ci.org and https://ci.appveyor.com using your github account and enable the tests for this repository there.

Once you have created an account at travis.org you can enable tests for this addon at https://travis-ci.org/jvcleave/ofxImGui

And for windows at https://ci.appveyor.com/projects/new

This PR includes test files for travis and appveyor ci services, once you merge it any new commit or PR to your repository will compile this addon for every supported platform against the latest openFrameworks.

This new files can be customized but we recommend to not touch them much except for commenting or uncommenting the different platfoms to test. That way we can ensure that the addon will work for any standard setup. The testing can be further customized (for example to install some dependencies in certain platforms by using some scripts in scripts/platforms there's more instructions on how to use them in the .travis.yml and appveyor.yml files in this PR.

Once your addon tests are working you can add a badge to your readme files so people using your addon can see the build status:

For travis you can just copy and paste the following markdown:

[![Build status](https://travis-ci.org/jvcleave/ofxImGui.svg?branch=master)](https://travis-ci.org/jvcleave/ofxImGui)

which will look like: Build status

For appveyor you can find the badge code at https://ci.appveyor.com/project/jvcleave/ofxImGui/settings/badges

If you have any doubt you can ask directly in this PR or in the openFrameworks forum

[1] We believe this repository contains an openFrameworks addon because it's name starts with ofx, it has a src/ofxImGui.h file, has c, c++ or objc source in an src folder, any of the present c or c++ source files includes an openFrameworks header, has a libs folder that is organized using the OF addons standard, has a readme file that mentions openframeworks and has an addon_config.mk file in the root folder.

If this repository isn't really an openFrameworks addon, it is but it's not maintained anymore or you are simply not interested in testing it, we are really sorry for bothering you. You can just close or ignore this PR and no further communications will be sent to this repository.