#!/usr/bin/env bash

set -eux

versions=(1.5.0 1.5.1 1.6.0 1.7.0 1.8.0-RC4)

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 -f pom-$i.xml pom-$i.xml.bak
done

#!/usr/bin/env bash

set -eux

versions=(1.5.0 1.5.1 1.6.0 1.7.0 1.8.0)

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 -f pom-$i.xml pom-$i.xml.bak
done

Test against Clojure 1.8.0 final
Test against Clojure 1.8.0 final
