KeY: ci-tool 1.4.0

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.

Usage:

To use the ci-tool add the following lines to the ci config.

  1. Get the latest version from the server:

    $ wget -O ci-tool.jar  https://formal.iti.kit.edu/weigl/ci-tool/latest.php?type=all

New 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=mini

If you are using the mini version, you also need to add KeY-2.X.Y-exe.jar to your classpath.

  1. 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]
  2. Find more parameters with -h

    $ java -jar <jarfile> -h 

Examples

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

Check out this file for Github workflows.

Changelog

Future features