Skip to content

Commit 4831a7c

Browse files
committed
add multi-version test script
* add 1.1.230 to changelog * stop testing against clojure 1.8 (since official matrix test doesn't include it anyway) Signed-off-by: Sean Corfield <[email protected]>
1 parent edb64e9 commit 4831a7c

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

CHANGELOG.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Change Log
22

3-
* Release 1.0.next in progress
4-
* Update dependencies to latest versions for testing.
3+
* Release 1.1.next in progress (maybe 1.2.next)
4+
* Update dependencies to latest versions for testing; add multi-version testing script; drop Clojure 1.8 support.
5+
6+
* Release 1.1.230 2024-02-19
7+
* Documentation and dev/test/CI infrastructure updates.
58

69
* Release 1.0.219 2023-05-08
710
* Add ClojureCLR support [TCLI-102](https://clojure.atlassian.net/browse/TCLI-102) [@dmiller](https://github.com/dmiller).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ org.clojure/tools.cli {:mvn/version "1.1.230"}
3030
```
3131
The 0.4.x series of tools.cli supports use with `clj`/`deps.edn` and brings
3232
the legacy API to ClojureScript by switching to `.cljc` files. This means it
33-
requires Clojure(Script) 1.8 or later.
33+
requires Clojure(Script) 1.9 or later.
3434

3535
The 0.3.x series of tools.cli features a new flexible API, better adherence
3636
to GNU option parsing conventions, and ClojureScript support.

deps.edn

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{:paths ["src/main/clojure"]
22
:aliases {:test {:extra-paths ["src/test/clojure"]}
3-
:1.8 {:override-deps {org.clojure/clojure {:mvn/version "1.8.0"}}}
43
:1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
54
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
65
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.4"}}}

run-tests.sh

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/sh
2+
3+
for v in 9 10 11 12
4+
do
5+
echo ""
6+
echo "Running tests for Clojure 1.$v..."
7+
clojure -M:test:runner:1.$v
8+
if [ $? -ne 0 ]; then
9+
echo "Tests failed for Clojure 1.$v"
10+
exit 1
11+
fi
12+
done
13+
14+
echo ""
15+
echo "Running tests for ClojureScript..."
16+
clojure -M:test:cljs-runner
17+
if [ $? -ne 0 ]; then
18+
echo "Tests failed for ClojureScript"
19+
exit 1
20+
fi

0 commit comments

Comments
 (0)