#!/bin/bash
cd tests/data
for i in $@; do
    if [[ $i == '2.7' ]]; then
        # we only support 2.7 now
        wget https://github.com/getnikola/invariant-builds/archive/v$i'.zip'
        unzip 'v'$i'.zip'
        rm -rf baseline$i
        mv invariant-builds-$i baseline$i
        rm 'v'$i'.zip'
    else
        echo 'Version '$i' does not support baseline testing.'
    fi
done

#!/bin/bash
cd tests/data
for i in $@; do
    if [[ $i == '3.5' ]]; then
        # we only support 3.5 now
        wget https://github.com/getnikola/invariant-builds/archive/v$i'.zip'
        unzip 'v'$i'.zip'
        rm -rf baseline$i
        mv invariant-builds-$i baseline$i
        rm 'v'$i'.zip'
    else
        echo 'Version '$i' does not support baseline testing.'
    fi
done

Allow downloading the baseline on 3.5
Allow downloading the baseline on 3.5

Signed-off-by: Chris Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com>
