Commit 25dd18b8 authored by Matthias Simon's avatar Matthias Simon
Browse files

Add initial .gitlab-ci.yml

parent 7a6fa16c
Loading
Loading
Loading
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
+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

@@ -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:]]*$//'