-
Notifications
You must be signed in to change notification settings - Fork 26
/
run_tests.sh
executable file
·32 lines (22 loc) · 1.08 KB
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
rm -rf Configurations
echo "Retrieving configuration from GitHub repo"
mkdir Configurations
cd Configurations
wget https://github.com/downloads/ISA-tools/Configuration-Files/isaconfig-default_v2011-02-18.zip --no-check-certificate
wget https://github.com/downloads/ISA-tools/Configuration-Files/isaconfig-default_v2011-02-18-MIMARKS-soil_v2011-02-18.zip --no-check-certificate
wget https://github.com/downloads/ISA-tools/Configuration-Files/isaconfig-default_v2011-02-18-MIMARKS-water_v2011-02-18.zip --no-check-certificate
wget https://github.com/downloads/ISA-tools/Configuration-Files/isaconfig-MISFISHIE-rodent-january-2011.zip --no-check-certificate
echo "Unzipping files"
unzip isaconfig-default_v2011-02-18.zip
unzip isaconfig-default_v2011-02-18-MIMARKS-soil_v2011-02-18.zip
unzip isaconfig-default_v2011-02-18-MIMARKS-water_v2011-02-18.zip
unzip isaconfig-MISFISHIE-rodent-january-2011.zip
echo "Cleaning up directory"
rm -rf __*
rm *.zip
cd ../
echo "Running tests"
# now run tests
mvn $MVNOPTS clean test jacoco:report coveralls:report
echo "Testing completed successfully!"