ci-tool is a utility for supporting Java and JML contracts in Continuous Integration pipelines by providing support for checking the proofability of JML with KeY.
ci-tool is licensed under GPLv2+.
If you any suggestion feel to contact: Alexander Weigl.
To use the ci-tool add the following lines to the ci config.
Get the latest version from the server:
$ wget -O ci-tool.jar https://formal.iti.kit.edu/weigl/ci-tool/latest.php?type=allNew with 1.3.0, we also offer a minified version without an included KeY version. You can get this version with
$ wget -O ci-tool.jar https://formal.iti.kit.edu/weigl/ci-tool/latest.php?type=miniIf you are using the mini version, you also need to add KeY-2.X.Y-exe.jar to your classpath.
Call ci-tool with your key-files or java file (or folder). ci-tool tries to verify all proofs automatically and uses found proofs or script files.
$ java -jar <jarfile> [files]Find more parameters with -h
$ java -jar <jarfile> -h For travis-ci:
jdk:
- openjdk11
language: java
install:
- wget -O ci-tool.jar https://formal.iti.kit.edu/weigl/ci-tool/latest.php?type=all
script:
- javac simplified/Keyserver.java
- java -jar ci-tool.jar simplified/Keyserver.javaCheck out this file for Github workflows.
-s.--xml-output [FILE] was added. If specified, an XML file is written in the JUnit format.a3cd916f85e4a52092723a6bb05c97d98b531763 from (Feb 15 2021)key.ui is not included anymore.master branch.master branch.--xml-output [FILE] was added. If specified, an XML file is written in the JUnit format.jshell utility.