mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-22 03:08:10 +00:00
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:
parent
796ebe2533
commit
c24cc16ebf
@ -1,4 +1,4 @@
|
||||
1.10.2 Release notes (2017-8-15)
|
||||
1.10.2 Release notes (2017-8-16)
|
||||
=============================================================
|
||||
### Breaking changes
|
||||
* None
|
||||
|
@ -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
|
||||
|
@ -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 '----------------------------------------'
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user