From c24cc16ebf9fd49b88f880a16f61e3d617d0f142 Mon Sep 17 00:00:00 2001 From: Kristian Dupont Date: Wed, 16 Aug 2017 11:11:28 +0200 Subject: [PATCH] Fix a few publish issues (#1215) * Stop trying to kill the server twice after testing * Fix test targets to run before publishing * ... * Remove electron runner from publish for now * Update changelog --- CHANGELOG.md | 2 +- README.md | 1 - scripts/publish.sh | 2 +- scripts/test.sh | 11 ----------- 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92ba63e4..3f224bed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -1.10.2 Release notes (2017-8-15) +1.10.2 Release notes (2017-8-16) ============================================================= ### Breaking changes * None diff --git a/README.md b/README.md index aca18f87..d178b75f 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,6 @@ You will need yarn installed on the machine. test.sh options * eslint - lints the sources - * realmjs - runs all tests on quick simulated environment * react-tests - runs all React Native tests on iOS Simulator * react-tests-android runs all React Native Android tests on Android emulator * node - runs all tests for node diff --git a/scripts/publish.sh b/scripts/publish.sh index 66abf6f1..c4f96788 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -62,7 +62,7 @@ git fetch origin || die 'Failed to fetch from git origin.' [ -z "$(git rev-list origin/$BRANCH..HEAD)" ] || die 'Local commits are not pushed to origin.' # Run all tests that must pass before publishing. -for test in eslint jsdoc license-check realmjs react-example react-tests react-tests-android; do +for test in eslint jsdoc license-check react-example react-tests-android react-tests; do for configuration in Debug Release; do echo "RUNNING TEST: $test ($configuration)" echo '----------------------------------------' diff --git a/scripts/test.sh b/scripts/test.sh index fb2bf8d2..c571848a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -263,13 +263,6 @@ case "$TARGET" in [[ $CONFIGURATION == 'Debug' ]] && exit 0 npm run jsdoc ;; -"realmjs") - download_server - start_server - pushd src - xctest RealmJS - stop_server - ;; "react-tests") npm run check-environment download_server @@ -335,10 +328,6 @@ case "$TARGET" in echo "********* File location: $(pwd)/tests.xml *********"; cat tests.xml - if [ "$(uname)" = 'Darwin' ]; then - stop_server - fi - ;; "node") npm run check-environment