#!/usr/bin/env bash

set -eux

versions=(1.3.0 1.4.0 1.5.0 1.5.1 1.6.0 1.7.0-RC1 1.7.0-master-SNAPSHOT)

for i in ${versions[@]}
do
    cp pom.xml pom-$i.xml
    perl -i -pe 's/\[1.5.0,\)/'"$i"'/g' pom-$i.xml
    mvn clean test -f pom-$i.xml
done

for i in ${versions[@]}
do
    rm pom-$i.xml
done

#!/usr/bin/env bash

set -eux

versions=(1.5.0 1.5.1 1.6.0 1.7.0-RC1 1.7.0-master-SNAPSHOT)

for i in ${versions[@]}
do
    cp pom.xml pom-$i.xml
    perl -i -pe 's/\[1.5.0,\)/'"$i"'/g' pom-$i.xml
    mvn clean test -f pom-$i.xml
done

for i in ${versions[@]}
do
    rm pom-$i.xml
done

Drop tests against 1.3 and 1.4
Drop tests against 1.3 and 1.4

I encountered the following bug in Clojure 1.3 and 1.4:

http://dev.clojure.org/jira/browse/CLJ-757

There's not much sense in testing against really old versions of Clojure
if their transients are broken.
