build_and_test 360 Bytes
Newer Older
incardon's avatar
incardon committed
1 2
#! /bin/bash

incardon's avatar
incardon committed
3
echo "Set environment"
incardon's avatar
incardon committed
4

incardon's avatar
incardon committed
5
# Custom script to set environment variables like FIJI path TEST path JAVA_HOME
6
source ~/.bashrc_custom
7 8
# Overwrite path to test data
export MOSAIC_PLUGIN_TEST_DATA_PATH=$MOSAIC_PATH/src/test/resources/
incardon's avatar
incardon committed
9

gonciarz's avatar
gonciarz committed
10 11
mvn clean
mvn package
12 13
if [ $? -ne 0 ]
then
gonciarz's avatar
gonciarz committed
14
        echo "Error during building MosaicSuite package"
15 16
        exit 1
fi