aboutsummaryrefslogtreecommitdiff
path: root/ci/init-tests.el
blob: ade70cce31c909a36007ba0c4e8de26e3973c1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;;; init-tests.el --- tests init file -*- coding: utf-8; lexical-binding: t; -*-

;;; Commentary:
;;
;; Load this file to setup MELPA and tests-related packages.
;;

;;; Code:

;; Setup MELPA
(require 'package)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

;; Optionally: bootstrap use-package for declarative package specs
;(unless (package-installed-p 'use-package)
;(package-refresh-contents)
;(package-install 'use-package))
;(eval-when-compile
;  (require 'use-package))

;; Bootstrap ert-async
(unless (package-installed-p 'ert-async)
  (package-refresh-contents)
  (package-install 'ert-async))
(eval-when-compile
  (require 'ert-async))

;;; init-tests.el ends here