Let's Travis check that for yarn lockfile and package.json sync

See https://yarnpkg.com/lang/en/docs/cli/check/
This commit is contained in:
Daniel J. Hofmann 2017-05-31 11:35:01 +02:00 committed by Daniel J. H
parent 6658bb7d51
commit b5d1565dec

View File

@ -286,6 +286,7 @@ before_install:
- export PUBLISH=$([[ "${TRAVIS_TAG:-}" == "v${PACKAGE_JSON_VERSION}" ]] && echo "On" || echo "Off")
- echo "Using ${JOBS} jobs"
- yarn install --ignore-scripts
- yarn check --ignore-scripts --integrity
# Bootstrap cmake to be able to run mason
- CMAKE_URL="https://mason-binaries.s3.amazonaws.com/${TRAVIS_OS_NAME}-x86_64/cmake/${CMAKE_VERSION}.tar.gz"
- CMAKE_DIR="mason_packages/${TRAVIS_OS_NAME}-x86_64/cmake/${CMAKE_VERSION}"