Skip to content

Commit b91747b

Browse files
committed
ci script improvements
1 parent 660af8e commit b91747b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ci.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ SCRIPT=$0
66
SCRIPT_DIR=$(cd $(dirname "$SCRIPT") && pwd)
77
RABBIT_DIR=$SCRIPT_DIR/../rabbit
88

9-
cd $RABBIT_DIR
10-
make start-background-broker
11-
cd $SCRIPT_DIR
12-
139
CLIENT_DIR=$SCRIPT_DIR/projects/client/RabbitMQ.Client
1410
UNIT_DIR=$SCRIPT_DIR/projects/client/Unit
1511

1612
dotnet restore $CLIENT_DIR
17-
dotnet build $CLIENT_DIR
13+
dotnet build -f netstandard1.5 $CLIENT_DIR
1814
dotnet restore $UNIT_DIR
19-
dotnet build $UNIT_DIR
20-
cd $UNIT_DIR
15+
dotnet build -f netcoreapp1.0 $UNIT_DIR
16+
17+
cd $RABBIT_DIR
18+
make start-background-broker
2119

2220
set +e
21+
22+
cd $UNIT_DIR
2323
dotnet test -f netcoreapp1.0 --where='cat != RequireSMP & cat != LongRunning & cat != GCTest'
2424
EXIT_CODE=$?
2525

0 commit comments

Comments
 (0)