diff options
| -rwxr-xr-x | run_rust_emacs_tests_docker.sh | 21 | ||||
| -rw-r--r-- | test-by-cp | 7 | ||||
| -rw-r--r-- | test-from-git | 7 |
3 files changed, 35 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 + + diff --git a/test-by-cp b/test-by-cp new file mode 100644 index 0000000..4fde115 --- /dev/null +++ b/test-by-cp @@ -0,0 +1,7 @@ +#!/bin/sh + +cd .. +mkdir copy +cd copy +cp -rf ../app/* . +./run_rust_emacs_tests.sh diff --git a/test-from-git b/test-from-git new file mode 100644 index 0000000..48f81e0 --- /dev/null +++ b/test-from-git @@ -0,0 +1,7 @@ +#!/bin/sh + +cd .. +mkdir git +cd git +git clone ../app . +./run_rust_emacs_tests.sh |
