diff options
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ci.sh b/scripts/ci.sh index 238eba371..c6f5b8e77 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh | |||
@@ -52,7 +52,7 @@ elif [ "$1" = "api-1" ]; then | |||
52 | notificationsFiles=$(findTestFiles server/tests/api/notifications) | 52 | notificationsFiles=$(findTestFiles server/tests/api/notifications) |
53 | searchFiles=$(findTestFiles server/tests/api/search) | 53 | searchFiles=$(findTestFiles server/tests/api/search) |
54 | 54 | ||
55 | MOCHA_PARALLEL=true runTest 2 $notificationsFiles $searchFiles $checkParamFiles | 55 | MOCHA_PARALLEL=true runTest 3 $notificationsFiles $searchFiles $checkParamFiles |
56 | elif [ "$1" = "api-2" ]; then | 56 | elif [ "$1" = "api-2" ]; then |
57 | npm run build:server | 57 | npm run build:server |
58 | 58 | ||
@@ -60,13 +60,13 @@ elif [ "$1" = "api-2" ]; then | |||
60 | usersFiles=$(findTestFiles server/tests/api/users) | 60 | usersFiles=$(findTestFiles server/tests/api/users) |
61 | liveFiles=$(findTestFiles server/tests/api/live) | 61 | liveFiles=$(findTestFiles server/tests/api/live) |
62 | 62 | ||
63 | MOCHA_PARALLEL=true runTest 2 $serverFiles $usersFiles $liveFiles | 63 | MOCHA_PARALLEL=true runTest 3 $serverFiles $usersFiles $liveFiles |
64 | elif [ "$1" = "api-3" ]; then | 64 | elif [ "$1" = "api-3" ]; then |
65 | npm run build:server | 65 | npm run build:server |
66 | 66 | ||
67 | videosFiles=$(findTestFiles server/tests/api/videos) | 67 | videosFiles=$(findTestFiles server/tests/api/videos) |
68 | 68 | ||
69 | MOCHA_PARALLEL=true runTest 2 $videosFiles | 69 | MOCHA_PARALLEL=true runTest 3 $videosFiles |
70 | elif [ "$1" = "api-4" ]; then | 70 | elif [ "$1" = "api-4" ]; then |
71 | npm run build:server | 71 | npm run build:server |
72 | 72 | ||