summaryrefslogtreecommitdiff
path: root/run_rust_emacs_tests_docker.sh
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2019-08-31 11:51:22 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2019-08-31 11:51:22 +0100
commit077cba734446e749378d7bb8382f2b246360e404 (patch)
tree7ffdd4c59fc9e309125b975ade20506dd35d1307 /run_rust_emacs_tests_docker.sh
parent86bc286a20e63e5e75590884c0b7c5a8b8123ab3 (diff)
downloadrust-mode-077cba734446e749378d7bb8382f2b246360e404.tar.gz
Add local docker based tests runner
Diffstat (limited to 'run_rust_emacs_tests_docker.sh')
-rwxr-xr-xrun_rust_emacs_tests_docker.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/run_rust_emacs_tests_docker.sh b/run_rust_emacs_tests_docker.sh
new file mode 100755
index 0000000..606e53e
--- /dev/null
+++ b/run_rust_emacs_tests_docker.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+echo "Testing Local files with Emacs 26 (latest)"
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:26.2-dev ./test-by-cp
+
+echo Testing Local files with Emacs 25
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:25.3-dev ./test-by-cp
+
+echo "Testing Local files with Emacs 24 (oldest)"
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:24.5-dev ./test-by-cp
+
+echo "Testing commits with Emacs 26 (latest)"
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:26.2-dev ./test-from-git
+
+echo Testing commits with Emacs 25
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:25.3-dev ./test-from-git
+
+echo "Testing commits with Emacs 24 (oldest)"
+docker run -it --rm --name docker-cp -v `pwd`:/usr/src/app -w /usr/src/app --entrypoint=/bin/bash silex/emacs:24.5-dev ./test-from-git
+
+