aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-04-07 10:14:55 -0700
committerGravatar Tom Willemse2020-04-07 10:14:55 -0700
commit6642c7d717313a81a654a922ae8df10d302f0eef (patch)
treebbe498278acf0c4cc70c3033c3162b6d541b1372
parenta709f502f88821bdef956cebfb304010f46503c0 (diff)
downloademacs-config-6642c7d717313a81a654a922ae8df10d302f0eef.tar.gz
emacs-config-6642c7d717313a81a654a922ae8df10d302f0eef.zip
Ensure ~/.emacs.d/data/ exists when testing ‘oni-core’
If the directory doesn’t exist, ‘recentf-mode’ will try to save the recent file list and fail because Emacs automatically asks if the directory should be created. Since the test is running in a non-interactive environment, it’ll fail to read the user’s answer.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6812273..3d22a74 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -265,6 +265,8 @@ integration-test-oni-core:
image: registry.gitlab.com/ryuslash/emacs-config
dependencies:
- package
+ before_script:
+ - mkdir -p ~/.emacs.d/data/
script: make integration-test-oni-core TEST_ARCHIVE=$(realpath bin/)
integration-test-oni-cpp: