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
This commit is contained in:
Kristian Dupont 2017-08-16 11:11:28 +02:00 committed by GitHub
parent 796ebe2533
commit c24cc16ebf
4 changed files with 2 additions and 14 deletions

View File

@ -1,4 +1,4 @@
1.10.2 Release notes (2017-8-15)
1.10.2 Release notes (2017-8-16)
=============================================================
### Breaking changes
* None

View File

@ -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

View File

@ -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 '----------------------------------------'

View File

@ -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