diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-15 15:37:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-15 15:37:31 +0200 |
commit | f88392cf680c30943f91d79d96e65277dfb0c7f0 (patch) | |
tree | c78649e90e96087118557a57766a41e9154c5d67 /scripts | |
parent | 48f07b4a4091cb10dc4d179118e155f3a118dca8 (diff) | |
download | PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.tar.gz PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.tar.zst PeerTube-f88392cf680c30943f91d79d96e65277dfb0c7f0.zip |
Decrease max parallel tests for travis
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/travis.sh b/scripts/travis.sh index 772d3906a..c38bd2cab 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh | |||
@@ -20,16 +20,16 @@ elif [ "$1" = "cli" ]; then | |||
20 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/cli/index.ts | 20 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/cli/index.ts |
21 | elif [ "$1" = "api-1" ]; then | 21 | elif [ "$1" = "api-1" ]; then |
22 | npm run build:server | 22 | npm run build:server |
23 | sh ./server/tests/api/travis-1.sh | 23 | sh ./server/tests/api/travis-1.sh 2 |
24 | elif [ "$1" = "api-2" ]; then | 24 | elif [ "$1" = "api-2" ]; then |
25 | npm run build:server | 25 | npm run build:server |
26 | sh ./server/tests/api/travis-2.sh | 26 | sh ./server/tests/api/travis-2.sh 2 |
27 | elif [ "$1" = "api-3" ]; then | 27 | elif [ "$1" = "api-3" ]; then |
28 | npm run build:server | 28 | npm run build:server |
29 | sh ./server/tests/api/travis-3.sh | 29 | sh ./server/tests/api/travis-3.sh 2 |
30 | elif [ "$1" = "api-4" ]; then | 30 | elif [ "$1" = "api-4" ]; then |
31 | npm run build:server | 31 | npm run build:server |
32 | sh ./server/tests/api/travis-4.sh | 32 | sh ./server/tests/api/travis-4.sh 2 |
33 | elif [ "$1" = "lint" ]; then | 33 | elif [ "$1" = "lint" ]; then |
34 | npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" | 34 | npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" |
35 | 35 | ||