AppVeyor is a Continuous Integration platform for GitHub projects. It runs its builds on Windows virtual machines.
AppVeyor can run the project’s tests automatically whenever new code is pushed to the repo. This ensures that existing functionality and features have not been broken on Windows by the changes.
The current AppVeyor setup performs the following things whenever someone pushes code to the repo:
Runs the gradlew.bat headless allTests
command.
Automatically re-tries the build up to 3 times if a task fails.
If you would like to customize your AppVeyor build further, you can learn more about AppVeyor from the AppVeyor Documentation.
From this repository, fork and clone it to your computer.
Go to https://ci.appveyor.com/. Under Login
, click on GitHub
to login with your GitHub account (as shown in Figure 1).
Enter your GitHub account details if needed.
NEW PROJECT
(as shown in Figure 2).You will be brought to the Select repository
page. Select GitHub
(as shown in Figure 3).
Authorize GitHub
.This will bring you to a GitHub page that manages the access of third-party applications to your repositories. Depending on whether you are the owner of the repository, you can click either one of the following:
ADD
(as shown in Figure 6).AppVeyor will then be activated on that repository.
To see the CI in action, push a commit to any branch!
Update the link to the “build status” badge at the top of README.md
to point to the AppVeyor build status of your own repo.
Then go to the Badges
section of your project settings by clicking on it (as shown in Figure 10):
Then copy and paste the markdown code for your master
branch to your README.md
file (as shown in Figure 11):