[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/parseclj ee71cb8afe 005/185: Try again for the Travis buil
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/parseclj ee71cb8afe 005/185: Try again for the Travis build |
Date: |
Tue, 28 Dec 2021 14:05:08 -0500 (EST) |
branch: elpa/parseclj
commit ee71cb8afe908d383df1a6e7bddf058966cd06d1
Author: Arne Brasseur <arne@arnebrasseur.net>
Commit: Arne Brasseur <arne@arnebrasseur.net>
Try again for the Travis build
---
.travis.yml | 2 +-
bin/run-tests | 2 --
clj-parse-test-runner.el | 25 +++++++++++++++++++++++++
3 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 0d9f78fe01..e55bcdd624 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,4 +5,4 @@ before_install:
- sudo apt-get install -qq emacs-snapshot
script:
- - bin/run-tests
+ - emacs -batch -l clj-parse-test-runner.el
diff --git a/bin/run-tests b/bin/run-tests
deleted file mode 100755
index 2171b799f7..0000000000
--- a/bin/run-tests
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-emacs -batch -l ert -l clj-parse.el -f ert-run-tests-batch-and-exit
\ No newline at end of file
diff --git a/clj-parse-test-runner.el b/clj-parse-test-runner.el
new file mode 100644
index 0000000000..c6e5449ad8
--- /dev/null
+++ b/clj-parse-test-runner.el
@@ -0,0 +1,25 @@
+;; Script used for the Travis build
+
+(setq package-archives
+ '(("gnu" . "https://elpa.gnu.org/packages/")
+ ;;("melpa" . "https://melpa.org/packages/")
+ ;;("melpa-stable" . "https://stable.melpa.org/packages/")
+ ))
+
+(package-initialize)
+(package-refresh-contents)
+
+;; Emacs before 25.1
+(when (not (fboundp 'let-alist))
+ (package-install 'let-alist))
+
+(require 'ert)
+
+;; Tried
+;; - default-directory
+;; - (file-name-directory load-file-name)
+;; Neither works so shelling out to `pwd` it is.
+(let ((pwd (replace-regexp-in-string "\n\\'" "" (shell-command-to-string
"pwd"))))
+ (load (concat pwd "/clj-parse.el")))
+
+(ert-run-tests-batch-and-exit)
- [nongnu] branch elpa/parseclj created (now a8c4cf30fb), ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 2d10ef3742 002/185: Travis CI / test setup, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 01608b7537 007/185: Seriously thinking of sticking to Emacs 25. This is getting ridiculous., ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj ee71cb8afe 005/185: Try again for the Travis build,
ELPA Syncer <=
- [nongnu] elpa/parseclj 4df6ae1bc7 012/185: Travis: only install the necessary ppa/package for each matrix line, 2nd attempt, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj e179a11ec4 016/185: More of trying to appease the mighty gods of Travis, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj d5167bf4ad 021/185: Test/lint stuff, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 22f2eb106f 028/185: Support \uxxxx and \oxxx escape codes in strings, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 343052c01a 014/185: Add linting to the build, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 07739abe2c 030/185: support keywords, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj ced0b91c08 029/185: "Support" namespaces symbols, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1eef0b62c8 034/185: Support #_discard forms, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 0974b56833 035/185: Stick to non CL functions, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj f8822bb43c 040/185: Add support for tags in lexer, ELPA Syncer, 2021/12/28