Skip to content
Snippets Groups Projects
Unverified Commit 15f25480 authored by Chocobozzz's avatar Chocobozzz
Browse files

Split slow and fast api tests for travis

parent c8dc45d7
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,8 @@ before_script:
matrix:
include:
- env: TEST_SUITE=client
- env: TEST_SUITE=api
- env: TEST_SUITE=api-fast
- env: TEST_SUITE=api-slow
- env: TEST_SUITE=cli
- env: TEST_SUITE=lint
......
......@@ -14,6 +14,12 @@ elif [ "$1" = "api" ]; then
elif [ "$1" = "cli" ]; then
npm run build:server
mocha --exit --require ts-node/register --bail server/tests/cli/index.ts
elif [ "$1" = "api-fast" ]; then
npm run build:server
mocha --exit --require ts-node/register --bail server/tests/api/index-fast.ts
elif [ "$1" = "api-slow" ]; then
npm run build:server
mocha --exit --require ts-node/register --bail server/tests/api/index-slow.ts
elif [ "$1" = "lint" ]; then
cd client || exit -1
npm run lint || exit -1
......
// Order of the tests we want to execute
import './config'
import './check-params'
import './friends-basic'
import './users'
import './single-pod'
import './video-abuse'
import './video-blacklist'
import './video-blacklist-management'
import './video-description'
import './video-privacy'
import './services'
import './request-schedulers'
// Order of the tests we want to execute
import './multiple-pods'
import './friends-advanced'
import './video-transcoder'
// Order of the tests we want to execute
import './config'
import './check-params'
import './friends-basic'
import './users'
import './single-pod'
import './video-abuse'
import './video-blacklist'
import './video-blacklist-management'
import './video-description'
import './video-privacy'
import './multiple-pods'
import './services'
import './request-schedulers'
import './friends-advanced'
import './video-transcoder'
import './index-fast'
import './index-slow'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment