Loading .gitlab-ci.yml 0 → 100644 +13 −0 Original line number Diff line number Diff line stages: - test - package - deploy # format-check verifies that our tests follow guide lines, are well named and # formatted. format-check: stage: test script: - ./build-aux/check-consistency - ./build-aux/tidy-tests - if ! git diff --quiet; echo "ATS is not tidied. Please run ./build-aux/tidy-tests locally and verify. Thanks."; exit 1; fi build-aux/tidy-tests +0 −3 Original line number Diff line number Diff line #!/bin/bash -e # tidy-tests performs various cleanups on the test suite. : "Remove dot-files" find ATS -name ".*" | xargs rm -rfv Loading @@ -17,5 +16,3 @@ find ATS -type f -name \*.ttcn | xargs dos2unix -q : "TTCN-3: Remove trailing whitespace" find ATS -type f -name \*.ttcn | xargs sed -i 's/[[:space:]]*$//' Loading
.gitlab-ci.yml 0 → 100644 +13 −0 Original line number Diff line number Diff line stages: - test - package - deploy # format-check verifies that our tests follow guide lines, are well named and # formatted. format-check: stage: test script: - ./build-aux/check-consistency - ./build-aux/tidy-tests - if ! git diff --quiet; echo "ATS is not tidied. Please run ./build-aux/tidy-tests locally and verify. Thanks."; exit 1; fi
build-aux/tidy-tests +0 −3 Original line number Diff line number Diff line #!/bin/bash -e # tidy-tests performs various cleanups on the test suite. : "Remove dot-files" find ATS -name ".*" | xargs rm -rfv Loading @@ -17,5 +16,3 @@ find ATS -type f -name \*.ttcn | xargs dos2unix -q : "TTCN-3: Remove trailing whitespace" find ATS -type f -name \*.ttcn | xargs sed -i 's/[[:space:]]*$//'