This repository aims to show an example how to automatically prove Ada/SPARK software with Travis CI. The current process consists of downloading and installing the GPL versions of GNAT and SPARK and then build and prove the project.
With the current state it is possible to:
- check if the project builds without Ada warnings
- automatically run the SPARK proof
- fail the CI test if SPARK does not prove
To use the GitHub template simply create a new repository from it, enable Travis and replace the src
directory and the .gpr
file with your own. Then change the CV_PROJECT
variable in .travis.yml
to your own project file.