main

ezDo


Project maintained by CS2103JAN2017-W14-B4 Hosted on GitHub Pages — Theme by mattgraham

AppVeyor


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:

If you would like to customize your AppVeyor build further, you can learn more about AppVeyor from the AppVeyor Documentation.



Setting up AppVeyor


  1. From this repository, fork and clone it to your computer.

  2. 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.

    Figure 1: "GitHub" Button in AppVeyor


  3. After logging in, you will be brought to your projects dashboard. Click on NEW PROJECT (as shown in Figure 2).

    Figure 2: "New Project" Button in AppVeyor


  4. You will be brought to the Select repository page. Select GitHub (as shown in Figure 3).

    • On your first usage of AppVeyor, you will need to give AppVeyor authorization to your GitHub account. Click on Authorize GitHub.

      <p align="center"></p>
    Figure 3: "GitHub" and "Authorise GitHub" Button in AppVeyor


    • 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:

      • Grant access (as shown in Figure 4):

        Figure 4: Grant Access Button


      • Request access (as shown in Figure 5):

        Figure 5: Request Access Button


  5. AppVeyor will then list the repositories you have access to in your GitHub account. Find the repository you want to set AppVeyor up on, and then click ADD (as shown in Figure 6).

    Figure 6: "Add" Button in AppVeyor


  6. AppVeyor will then be activated on that repository. To see the CI in action, push a commit to any branch!

    • Go to the repository and see the pushed commit. There should be an icon which will link you to the AppVeyor build (as shown in Figure 7):

    Figure 7: Screenshot of Appveyor Build


    • As the build is run on a remote machine, we can only examine the logs it produces (as shown in Figure 8):

Figure 8: Screenshot of Appveyor Build Logs


  1. 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.

    • To find your build status badge URL, first go to your project settings by clicking on the “Settings” icon (as shown in Figure 9):

    Figure 9: Project Settings Icon in AppVeyor


    • Then go to the Badges section of your project settings by clicking on it (as shown in Figure 10):

      Figure 10: Badges Link in AppVeyor Settings Page


    • Then copy and paste the markdown code for your master branch to your README.md file (as shown in Figure 11):

      Figure 11: Branch Sample MarkDown Code Field