diff options
author | Torsten Grote <t@grobox.de> | 2020-07-24 11:09:30 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-07-28 15:42:39 -0300 |
commit | 08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7 (patch) | |
tree | 794658b2b9dfc3a39d8e374feae7e03919742f63 /.gitlab-ci.yml | |
parent | 503c35d5f5972551cffa1fecb8b7b463503cc662 (diff) | |
download | wallet-core-08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7.tar.xz |
Add CI config for Gitlab CI integration tests (bash and pytest)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..9eef833c9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: "registry.gitlab.com/gnu-taler/docker-taler-ci:latest" + +before_script: + - pg_ctlcluster 12 main start + +integration_tests_legacy: + script: + - cd integrationtests + - ./test-base.sh + - ./test-double-link.sh + - ./test-double-spend.sh + - ./test-recoup.sh + - ./test-refund.sh + - ./test-retries.sh + - ./test-withdrawal.sh + allow_failure: true + +integration_tests: + script: + - ./bootstrap + - ./configure + - make install + - pytest -rP tests/ + +after_script: + - pg_ctlcluster 12 main stop |