summaryrefslogtreecommitdiffstats
path: root/bin/build_and_test.sh
blob: d5bbf6c4bd73620fcfe16bc873b5e83e2fd4a484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/local/bin/fish
rm -rf /tmp/log/cdapbroker/*;
rm -rf _build/*
rebar3 upgrade;
rebar3 release; 
set -x NEXUS_RAW_ROOT "XXXX";
set -x CDAP_CLUSTER_TO_MANAGE "cdap";
set -x CONSUL_HOST "XXXX";
set -x CONFIG_BINDING_SERVICE "config_binding_service";
set -x HOSTNAME "cdap_broker";
set -x REBAR3_ERL_ARGS "-sname cdapbroker@localhost";
rebar3 local install;
env DEBUG=1 ~/.cache/rebar3/bin/rebar3 ct;
rebar3 eunit