Add GitLab CI configuration

This commit is contained in:
Tom Willemse 2020-05-13 22:52:59 -07:00
parent 6dbc094475
commit 7a2a4523aa

29
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,29 @@
image: silex/emacs:26.3-alpine-dev
stages:
- package
- deploy
package:
stage: package
before_script:
- rm -rf public/
- mkdir public/
script: >
emacs --batch --load package --load package-x --funcall package-initialize
--eval "(let ((package-archive-upload-base \"public/\"))
(package-upload-file \"circe-serenity.el\"))"
artifacts:
paths:
- public/
pages:
stage: deploy
only:
- master
dependencies:
- package
script: echo "Done"
artifacts:
paths:
- public