aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 17:50:28 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 17:50:28 +0100
commit15f25480dddca4ad2af10f1bb96b4c8858cd4335 (patch)
tree0244e7e8e7687bd0d2443ad06c754a0ba1b9ff7c /scripts
parentc8dc45d7337020902e3c177580a1060b9fa3297f (diff)
downloadPeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.gz
PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.zst
PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.zip
Split slow and fast api tests for travis
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh
index f6cdda463..e0a59806a 100755
--- a/scripts/travis.sh
+++ b/scripts/travis.sh
@@ -14,6 +14,12 @@ elif [ "$1" = "api" ]; then
14elif [ "$1" = "cli" ]; then 14elif [ "$1" = "cli" ]; then
15 npm run build:server 15 npm run build:server
16 mocha --exit --require ts-node/register --bail server/tests/cli/index.ts 16 mocha --exit --require ts-node/register --bail server/tests/cli/index.ts
17elif [ "$1" = "api-fast" ]; then
18 npm run build:server
19 mocha --exit --require ts-node/register --bail server/tests/api/index-fast.ts
20elif [ "$1" = "api-slow" ]; then
21 npm run build:server
22 mocha --exit --require ts-node/register --bail server/tests/api/index-slow.ts
17elif [ "$1" = "lint" ]; then 23elif [ "$1" = "lint" ]; then
18 cd client || exit -1 24 cd client || exit -1
19 npm run lint || exit -1 25 npm run lint || exit -1