aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-01-08 12:13:55 -0800
committerGravatar Tom Willemse2020-01-08 12:13:55 -0800
commit3c95635890e4b8cebee27239d7a1f0c139434e7c (patch)
tree71908c9db2e95e91b53b7fb0aa8c108e184ce526 /.gitlab-ci.yml
parentbd805dadcb19e639e43a2b493207a3209f465073 (diff)
downloademacs-config-3c95635890e4b8cebee27239d7a1f0c139434e7c.tar.gz
emacs-config-3c95635890e4b8cebee27239d7a1f0c139434e7c.zip
Integration test each individual package
In order to differentiate better between the two types of tests, rename the test commands to unit-test.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml73
1 files changed, 53 insertions, 20 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a48fbd9..c4ac375 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -139,62 +139,95 @@ package:
paths:
- bin/
-test-oni-alert:
+unit-test-oni-alert:
stage: unit-test
dependencies:
- package
- script: make test-oni-alert TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-alert TEST_ARCHIVE=$(realpath bin/)
-test-oni-bookmark:
+unit-test-oni-bookmark:
stage: unit-test
dependencies:
- package
- script: make test-oni-bookmark TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/)
-test-oni-conf:
+unit-test-oni-conf:
stage: unit-test
dependencies:
- package
- script: make test-oni-conf TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-conf TEST_ARCHIVE=$(realpath bin/)
-test-oni-css:
+unit-test-oni-css:
stage: unit-test
dependencies:
- package
- script: make test-oni-css TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-css TEST_ARCHIVE=$(realpath bin/)
-test-oni-elisp:
+unit-test-oni-elisp:
stage: unit-test
dependencies:
- package
- script: make test-oni-elisp TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-elisp TEST_ARCHIVE=$(realpath bin/)
-test-oni-grep:
+unit-test-oni-grep:
stage: unit-test
dependencies:
- package
- script: make test-oni-grep TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-grep TEST_ARCHIVE=$(realpath bin/)
-test-oni-highlight-indent-guides:
+unit-test-oni-highlight-indent-guides:
stage: unit-test
dependencies:
- package
- script: make test-oni-highlight-indent-guides TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-highlight-indent-guides TEST_ARCHIVE=$(realpath bin/)
-test-oni-php:
+unit-test-oni-php:
stage: unit-test
dependencies:
- package
- script: make test-oni-php TEST_ARCHIVE=$(realpath bin/)
+ script: make unit-test-oni-php TEST_ARCHIVE=$(realpath bin/)
-integration-test:
+integration-test-oni-alert:
stage: integration-test
image: registry.gitlab.com/ryuslash/emacs-config
dependencies:
- package
- script:
- - cd test/integration
- - bats .
+ script: make integration-test-oni-alert TEST_ARCHIVE=$(realpath bin/)
+
+integration-test-oni-autohotkey:
+ stage: integration-test
+ image: registry.gitlab.com/ryuslash/emacs-config
+ dependencies:
+ - package
+ script: make integration-test-oni-autohotkey TEST_ARCHIVE=$(realpath bin/)
+
+integration-test-oni-bats:
+ stage: integration-test
+ image: registry.gitlab.com/ryuslash/emacs-config
+ dependencies:
+ - package
+ script: make integration-test-oni-bats TEST_ARCHIVE=$(realpath bin/)
+
+integration-test-oni-bookmark:
+ stage: integration-test
+ image: registry.gitlab.com/ryuslash/emacs-config
+ dependencies:
+ - package
+ script: make integration-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/)
+
+integration-test-oni-docker:
+ stage: integration-test
+ image: registry.gitlab.com/ryuslash/emacs-config
+ dependencies:
+ - package
+ script: make integration-test-oni-docker TEST_ARCHIVE=$(realpath bin/)
+
+integration-test-oni-scheme:
+ stage: integration-test
+ image: registry.gitlab.com/ryuslash/emacs-config
+ dependencies:
+ - package
+ script: make integration-test-oni-scheme TEST_ARCHIVE=$(realpath bin/)
deploy:
only: