2020-07-19 13:31:09 -07:00
|
|
|
image: registry.gitlab.com/ryuslash/emacs-config
|
2019-03-28 00:53:55 -07:00
|
|
|
|
|
|
|
stages:
|
2019-08-20 00:21:12 -07:00
|
|
|
- pre-package-multifile
|
2019-03-28 00:53:55 -07:00
|
|
|
- package
|
2020-01-08 11:56:52 -08:00
|
|
|
- unit-test
|
|
|
|
- integration-test
|
2019-03-28 00:53:55 -07:00
|
|
|
- deploy
|
|
|
|
|
2019-08-23 23:00:43 -07:00
|
|
|
package-oni-conf:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
|
|
|
- rm -rf oni-conf/dist
|
|
|
|
script:
|
|
|
|
- cask --path oni-conf package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-conf/dist/
|
|
|
|
|
2019-08-23 23:39:07 -07:00
|
|
|
package-oni-css:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
|
|
|
- rm -rf oni-css/dist
|
|
|
|
script:
|
|
|
|
- cask --path oni-css package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-css/dist/
|
|
|
|
|
2019-08-25 13:37:25 -07:00
|
|
|
package-oni-elisp:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
|
|
|
- rm -rf oni-elisp/dist
|
|
|
|
script:
|
|
|
|
- cask --path oni-elisp package
|
|
|
|
artifacts:
|
2019-08-25 13:38:11 -07:00
|
|
|
paths:
|
2019-08-25 13:37:25 -07:00
|
|
|
- oni-elisp/dist/
|
|
|
|
|
2019-08-27 23:09:07 -07:00
|
|
|
package-oni-haml:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-haml/dist
|
2019-08-27 23:09:07 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-haml package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-haml/dist/
|
|
|
|
|
2019-08-27 23:25:50 -07:00
|
|
|
package-oni-html:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-html/dist
|
2019-08-27 23:25:50 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-html package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-html/dist/
|
|
|
|
|
2019-08-27 23:34:58 -07:00
|
|
|
package-oni-nxml:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-nxml/dist
|
2019-08-27 23:34:58 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-nxml package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-nxml/dist/
|
|
|
|
|
2019-08-29 21:51:25 -07:00
|
|
|
package-oni-org:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
|
|
|
- rm -rf oni-org/dist
|
|
|
|
script:
|
|
|
|
- cask --path oni-org package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-org/dist/
|
|
|
|
|
2019-08-27 23:53:06 -07:00
|
|
|
package-oni-php:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-php/dist
|
2019-08-27 23:53:06 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-php package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-php/dist/
|
|
|
|
|
2019-08-28 00:06:55 -07:00
|
|
|
package-oni-python:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-python/dist
|
2019-08-28 00:06:55 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-python package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-python/dist/
|
|
|
|
|
2019-08-28 00:09:30 -07:00
|
|
|
package-oni-ruby:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-ruby/dist
|
2019-08-28 00:09:30 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-ruby package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-ruby/dist/
|
|
|
|
|
2019-08-28 00:11:08 -07:00
|
|
|
package-oni-twig:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
2019-08-29 21:51:25 -07:00
|
|
|
- rm -rf oni-twig/dist
|
2019-08-28 00:11:08 -07:00
|
|
|
script:
|
|
|
|
- cask --path oni-twig package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-twig/dist/
|
|
|
|
|
2020-03-02 17:59:42 -08:00
|
|
|
package-oni-csharp:
|
|
|
|
stage: pre-package-multifile
|
|
|
|
before_script:
|
|
|
|
- rm -rf oni-csharp/dist
|
|
|
|
script:
|
|
|
|
- cask --path oni-csharp package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- oni-csharp/dist/
|
|
|
|
|
2019-12-11 00:31:28 -08:00
|
|
|
package:
|
|
|
|
stage: package
|
|
|
|
dependencies:
|
|
|
|
- package-oni-conf
|
|
|
|
- package-oni-css
|
|
|
|
- package-oni-elisp
|
|
|
|
- package-oni-haml
|
|
|
|
- package-oni-html
|
|
|
|
- package-oni-nxml
|
|
|
|
- package-oni-org
|
|
|
|
- package-oni-php
|
|
|
|
- package-oni-python
|
|
|
|
- package-oni-ruby
|
|
|
|
- package-oni-twig
|
2020-03-02 17:59:42 -08:00
|
|
|
- package-oni-csharp
|
2019-12-11 00:31:28 -08:00
|
|
|
before_script:
|
|
|
|
- rm -rf bin/
|
|
|
|
- mkdir bin/
|
|
|
|
script: make package
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- bin/
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-alert:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-12-11 00:31:28 -08:00
|
|
|
dependencies:
|
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-alert TEST_ARCHIVE=$(realpath bin/)
|
2019-08-22 23:52:43 -07:00
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-bookmark:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-12-11 00:31:28 -08:00
|
|
|
dependencies:
|
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/)
|
2019-03-28 00:53:55 -07:00
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-conf:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-08-23 23:00:43 -07:00
|
|
|
dependencies:
|
2019-12-11 00:31:28 -08:00
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-conf TEST_ARCHIVE=$(realpath bin/)
|
2019-08-23 23:00:43 -07:00
|
|
|
|
2020-04-07 02:09:43 -07:00
|
|
|
unit-test-oni-core:
|
|
|
|
stage: unit-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make unit-test-oni-core TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-elisp:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-08-25 13:37:25 -07:00
|
|
|
dependencies:
|
2019-12-11 00:31:28 -08:00
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-elisp TEST_ARCHIVE=$(realpath bin/)
|
2019-08-25 13:37:25 -07:00
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-grep:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-12-11 00:31:28 -08:00
|
|
|
dependencies:
|
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-grep TEST_ARCHIVE=$(realpath bin/)
|
2019-03-28 20:26:04 -07:00
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-highlight-indent-guides:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-12-11 00:31:28 -08:00
|
|
|
dependencies:
|
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-highlight-indent-guides TEST_ARCHIVE=$(realpath bin/)
|
2019-05-05 00:03:04 -07:00
|
|
|
|
2020-01-13 22:51:39 -08:00
|
|
|
unit-test-oni-org:
|
|
|
|
stage: unit-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make unit-test-oni-org TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
unit-test-oni-php:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: unit-test
|
2019-08-27 23:53:06 -07:00
|
|
|
dependencies:
|
2019-12-11 00:31:28 -08:00
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make unit-test-oni-php TEST_ARCHIVE=$(realpath bin/)
|
2019-03-28 00:53:55 -07:00
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
integration-test-oni-alert:
|
2020-01-08 11:56:52 -08:00
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
2020-01-08 12:13:55 -08:00
|
|
|
script: make integration-test-oni-alert TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
|
|
|
integration-test-oni-autohotkey:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-autohotkey TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-05-02 18:32:01 -07:00
|
|
|
integration-test-oni-bat:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-bat TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
integration-test-oni-bats:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-bats TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-company:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-company TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-12 15:34:34 -08:00
|
|
|
integration-test-oni-conf:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-conf TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-counsel:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-counsel TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-28 21:48:28 -08:00
|
|
|
integration-test-oni-csharp:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-csharp TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-07 01:25:23 -07:00
|
|
|
integration-test-oni-css:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-css TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
integration-test-oni-bookmark:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-bookmark TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-13 18:02:41 -08:00
|
|
|
integration-test-oni-browse-url:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-browse-url TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-07 02:09:43 -07:00
|
|
|
integration-test-oni-core:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
2020-04-07 10:14:55 -07:00
|
|
|
before_script:
|
|
|
|
- mkdir -p ~/.emacs.d/data/
|
2020-04-07 02:09:43 -07:00
|
|
|
script: make integration-test-oni-core TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-13 18:13:16 -08:00
|
|
|
integration-test-oni-cpp:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-cpp TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
integration-test-oni-docker:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-docker TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 00:07:45 -07:00
|
|
|
integration-test-oni-fish:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-fish TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-gui:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-gui TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-03-29 23:56:44 -07:00
|
|
|
integration-test-oni-haskell:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-haskell TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-ivy:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-ivy TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-03-27 16:00:55 -07:00
|
|
|
integration-test-oni-json:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-json TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-09-07 14:44:32 -07:00
|
|
|
integration-test-oni-lua:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-lua TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-09 11:32:52 -07:00
|
|
|
integration-test-oni-org:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-org TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-paredit:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-paredit TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-02-29 13:15:38 -08:00
|
|
|
integration-test-oni-prescient:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-prescient TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2020-01-08 12:13:55 -08:00
|
|
|
integration-test-oni-scheme:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-scheme TEST_ARCHIVE=$(realpath bin/)
|
2020-01-08 11:56:52 -08:00
|
|
|
|
2020-04-08 11:16:00 -07:00
|
|
|
integration-test-oni-yasnippet:
|
|
|
|
stage: integration-test
|
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
script: make integration-test-oni-yasnippet TEST_ARCHIVE=$(realpath bin/)
|
|
|
|
|
2019-04-16 22:05:27 -07:00
|
|
|
deploy:
|
2019-12-11 21:38:40 -08:00
|
|
|
only:
|
|
|
|
- master
|
2019-03-28 00:53:55 -07:00
|
|
|
stage: deploy
|
2019-09-08 18:04:07 -07:00
|
|
|
image: instrumentisto/rsync-ssh
|
2019-03-28 00:53:55 -07:00
|
|
|
dependencies:
|
|
|
|
- package
|
|
|
|
before_script:
|
2019-08-19 23:33:10 -07:00
|
|
|
- chmod 600 "$DEPLOY_KEY"
|
2019-03-28 00:53:55 -07:00
|
|
|
script:
|
2019-08-19 23:33:10 -07:00
|
|
|
- rsync -e "ssh -o \"UserKnownHostsFile $KNOWN_HOSTS\" -p 4511 -i $DEPLOY_KEY" -v -c -r --delete bin/ "elpa@ryuslash.org:"
|