An example of using CI for Haxe projects.
Same procedure is used for setting up both Travis CI, AppVeyor, and Azure Pipelines:
- Create a Haxe project if there isn't one.
- Create a new repo on GitHub.
- Turn on the switches for the GitHub repo on Travis CI/AppVeyor/Azure Pipelines.
- Copy and modify the configs:
- .travis.yml for Travis CI
- appveyor.yml for AppVeyor
- azure-pipelines.yml for Azure Pipelines
- Commit the configs and push to GitHub.
- Watch it build:
https://travis-ci.com/${username}/${reponame}
for Travis CIhttps://ci.appveyor.com/project/${username}/${reponame}
for AppVeyorhttps://dev.azure.com/${organization}/${azureproject}/_build
for Azure Pipelines
- Add badges to README:
https://travis-ci.com/${username}/${reponame}.svg?branch=master
for Travis CIhttps://ci.appveyor.com/api/projects/status/github/${username}/${reponame}?branch=master&svg=true
for AppVeyorhttps://dev.azure.com/${organization}/${azureproject}/_apis/build/status/${pipeline}?branchName=master
for Azure Pipelines
To the extent possible under law,
Andy Li
has waived all copyright and related or neighboring rights to
HaxeCI.
This work is published from:
Hong Kong.