diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/setup/cli.sh | 2 | ||||
-rwxr-xr-x | scripts/travis.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh index 94ca3c441..9808868d3 100755 --- a/scripts/setup/cli.sh +++ b/scripts/setup/cli.sh | |||
@@ -13,4 +13,4 @@ rm -rf ./dist/server/tools/ | |||
13 | 13 | ||
14 | npm run tsc -- --build ./server/tools/tsconfig.json | 14 | npm run tsc -- --build ./server/tools/tsconfig.json |
15 | 15 | ||
16 | cp -r "./server/tools/node_modules" "./dist/server/tools" | 16 | mv "./server/tools/node_modules" "./dist/server/tools" |
diff --git a/scripts/travis.sh b/scripts/travis.sh index 454ac5e14..664d9fd6c 100755 --- a/scripts/travis.sh +++ b/scripts/travis.sh | |||
@@ -17,6 +17,7 @@ if [ "$1" = "misc" ]; then | |||
17 | server/tests/helpers/index.ts | 17 | server/tests/helpers/index.ts |
18 | elif [ "$1" = "cli" ]; then | 18 | elif [ "$1" = "cli" ]; then |
19 | npm run build:server | 19 | npm run build:server |
20 | CC=gcc-4.9 CXX=g++-4.9 npm run setup:cli | ||
20 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/cli/index.ts | 21 | mocha --timeout 5000 --exit --require ts-node/register --bail server/tests/cli/index.ts |
21 | elif [ "$1" = "api-1" ]; then | 22 | elif [ "$1" = "api-1" ]; then |
22 | npm run build:server | 23 | npm run build:server |
@@ -28,8 +29,7 @@ elif [ "$1" = "api-3" ]; then | |||
28 | npm run build:server | 29 | npm run build:server |
29 | sh ./server/tests/api/travis-3.sh 2 | 30 | sh ./server/tests/api/travis-3.sh 2 |
30 | elif [ "$1" = "api-4" ]; then | 31 | elif [ "$1" = "api-4" ]; then |
31 | npm run setup:cli | 32 | npm run build:server |
32 | npm run build-server | ||
33 | sh ./server/tests/api/travis-4.sh 2 | 33 | sh ./server/tests/api/travis-4.sh 2 |
34 | elif [ "$1" = "lint" ]; then | 34 | elif [ "$1" = "lint" ]; then |
35 | npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" | 35 | npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" |