ci(typescript): add typescript_next build
Install typescript@next before build.js and test.typings. Restore the regular version before travis caches node_modules/. Fixes #6368
This commit is contained in:
@ -19,6 +19,11 @@ elif [ "$MODE" = "lint" ]; then
|
||||
elif [ "$MODE" = "build_only" ]; then
|
||||
${SCRIPT_DIR}/build_js.sh
|
||||
${SCRIPT_DIR}/build_dart.sh
|
||||
elif [ "$MODE" = "typescript_next" ]; then
|
||||
# Ignore complaints about unsatisfied peer deps
|
||||
npm install typescript@next || true
|
||||
${SCRIPT_DIR}/build_js.sh
|
||||
./node_modules/.bin/gulp test.typings
|
||||
elif [ "$MODE" = "payload" ]; then
|
||||
source ${SCRIPT_DIR}/env_dart.sh
|
||||
./node_modules/.bin/gulp test.payload.dart/ci
|
||||
|
@ -12,7 +12,7 @@ cd $SCRIPT_DIR/../..
|
||||
|
||||
# Variables
|
||||
DDC_TOTAL_WARNING_CAP="1000"
|
||||
DDC_TOTAL_ERROR_CAP="6"
|
||||
DDC_TOTAL_ERROR_CAP="11"
|
||||
DDC_DIR=`pwd`/tmp/dev_compiler
|
||||
DDC_VERSION="0.1.14"
|
||||
|
||||
|
Reference in New Issue
Block a user