forked from OleConsignado/otc-hosted-worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cicd.sh
32 lines (17 loc) · 707 Bytes
/
cicd.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/bash
set -e
CICD_COMMON_VERSION="v2.2"
export CLASS_LIBRARY_PROJ_DIR=Source/Otc.HostedWorker.Abstractions
#export TEST_PROJ_DIR=Source/Otc.HostedWorker.Tests
cd $TRAVIS_BUILD_DIR
wget -q https://raw.githubusercontent.com/OleConsignado/otc-cicd-common/$CICD_COMMON_VERSION/cicd-common.sh -O ./cicd-common.sh
chmod +x ./cicd-common.sh
./cicd-common.sh $@
export CLASS_LIBRARY_PROJ_DIR=Source/Otc.HostedWorker
./cicd-common.sh $@
export CLASS_LIBRARY_PROJ_DIR=Source/Otc.WebHostedWorker
./cicd-common.sh $@
export CLASS_LIBRARY_PROJ_DIR=Source/Otc.WebHostedWorkerAdapter.Abstractions
./cicd-common.sh $@
export CLASS_LIBRARY_PROJ_DIR=Source/Otc.WebHostedWorkerAdapter
./cicd-common.sh $@