summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-07-24 11:09:30 -0300
committerTorsten Grote <t@grobox.de>2020-07-28 15:42:39 -0300
commit08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7 (patch)
tree794658b2b9dfc3a39d8e374feae7e03919742f63 /.gitlab-ci.yml
parent503c35d5f5972551cffa1fecb8b7b463503cc662 (diff)
downloadwallet-core-08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7.tar.gz
wallet-core-08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7.tar.bz2
wallet-core-08c3209dbc06329b4566ddd8d1dd7ab1c7e28ed7.zip
Add CI config for Gitlab CI integration tests (bash and pytest)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
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