-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from back4app/back4app2.7.4
Back4app2.7.4
- Loading branch information
Showing
397 changed files
with
51,994 additions
and
11,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{ | ||
"plugins": [ | ||
"transform-flow-strip-types" | ||
"transform-flow-strip-types", | ||
"transform-object-rest-spread" | ||
], | ||
"presets": [ | ||
"es2015", | ||
"stage-0" | ||
["env", { | ||
"targets": { | ||
"node": "6.11.4" | ||
} | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
lib/* | ||
coverage/* | ||
lib | ||
coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
[libs] | ||
|
||
[options] | ||
suppress_comment= \\(.\\|\n\\)*\\@flow-disable-next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
* text=auto eol=lf | ||
|
||
*.js text | ||
*.html text | ||
*.less text | ||
*.json text | ||
*.css text | ||
*.xml text | ||
*.md text | ||
*.txt text | ||
*.yml text | ||
*.sql text | ||
*.sh text | ||
|
||
*.png binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
], | ||
"exclude": [ | ||
"**/spec/**", | ||
"lib/" | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,75 @@ | ||
language: node_js | ||
dist: trusty | ||
sudo: required | ||
node_js: | ||
- '4.5' | ||
- '6.1' | ||
services: | ||
- mongodb | ||
- postgresql | ||
- redis-server | ||
- docker | ||
addons: | ||
postgresql: '9.5' | ||
before_script: | ||
- ls -al "$HOME/.mongodb/versions" | ||
- psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres | ||
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database | ||
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database | ||
- npm run lint | ||
env: | ||
global: | ||
- COVERAGE_OPTION='./node_modules/.bin/istanbul cover' | ||
matrix: | ||
- MONGODB_VERSION=3.0.8 | ||
- MONGODB_VERSION=3.2.6 | ||
- PARSE_SERVER_TEST_DB=postgres | ||
- PARSE_SERVER_TEST_CACHE=redis | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: PARSE_SERVER_TEST_DB=postgres | ||
apt_packages: | ||
- postgresql-9.5-postgis-2.3 | ||
branches: | ||
only: | ||
- master | ||
- /^[0-9]+.[0-9]+.[0-9]+(-.*)?$/ | ||
- 3.x | ||
- /^greenkeeper/.*$/ | ||
cache: | ||
directories: | ||
- node_modules | ||
- "$HOME/.mongodb/versions" | ||
|
||
# Test stage | ||
stage: test | ||
env: | ||
global: | ||
- COVERAGE_OPTION='./node_modules/.bin/nyc' | ||
- NODE_VERSION=6.11.4 | ||
matrix: | ||
- MONGODB_VERSION=3.2.13 | ||
- MONGODB_VERSION=3.4.4 | ||
- PARSE_SERVER_TEST_DB=postgres | ||
- PARSE_SERVER_TEST_CACHE=redis | ||
- NODE_VERSION=8.7 | ||
before_install: | ||
- nvm install $NODE_VERSION | ||
- nvm use $NODE_VERSION | ||
before_script: | ||
- node -e 'require("./lib/index.js")' | ||
- psql -c 'create database parse_server_postgres_adapter_test_database;' -U postgres | ||
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database | ||
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database | ||
- silent=1 mongodb-runner --start | ||
script: | ||
- npm run coverage | ||
after_script: | ||
- bash <(curl -s https://codecov.io/bash) | ||
after_failure: | ||
- (cd resources; python travis_after_all.py) | ||
after_success: | ||
- (cd resources; python travis_after_all.py) | ||
- export $(cat resources/.to_export_back) | ||
|
||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./resources/npm-git.sh | ||
on: | ||
branch: master | ||
condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded" | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./resources/docker-hub.sh | ||
on: | ||
tags: true | ||
all_branches: true | ||
condition: "$BUILD_LEADER$BUILD_AGGREGATE_STATUS = YESothers_succeeded" | ||
- provider: npm | ||
email: | ||
secure: T3LwSJFcu632SDfCoavcKL39NktWLEOOFzonAjeHAglmMyDp9hvU8xH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KBflElNbSd4nWgwUOo3Yv8vC4Vj53fwmM+Uqfu3IgYFWktYxCm4RWIKMfB/gtmjcF6QYFfjvEMwAvRfBV81kuynCsnubXWzQeBE/b3JOhBfpGciKCjKfy+tS6bZfFjCtQV98hMMiCPre8Y7PahHDYc65wU9Ake+ZE+dDaSbeV3DZ5JeifLJHzKW2J2dWeRANkOaiSwO9VBC9/rht5ulK5qQ1pB2+sKDToAaiKy6RMlB/HgIoYqsU= | ||
on: | ||
tags: true | ||
all_branches: true | ||
condition: "$MONGODB_VERSION = '3.0.8'" | ||
repo: ParsePlatform/parse-server | ||
jobs: | ||
include: | ||
# release on github latest branch | ||
- stage: release | ||
node_js: '6.11.4' | ||
env: | ||
before_script: skip | ||
after_script: skip | ||
script: skip | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: ./resources/npm-git.sh | ||
on: | ||
branch: | ||
- master | ||
- 3.x | ||
- provider: npm | ||
skip_cleanup: true | ||
email: | ||
secure: "YweTGc22uqFWpzbfiUa5ptBLRAy6tt6d9TZLwEkPtmnsWzN9dguGyKWmXiw0qL+848FWQ5PWzUgBn5XdigV9tF3rJY6RGs8i38WulNjwSoGuRZa3AChsQHAb1KenANcJybzhnwgEj9gRsrGZPEsyI2whfake/xLDtG91kHjpJANsd4gseOh6fdS4FIYCbyXvSbC7S0yZzIJkgSkMqJO7RJ8r0HYQ7srYIw31dM3ZXSmUYu+GaMDUUu3RLAGYoKaROxhDRnzkjdeLLiwZH8hQ/6CaqwqX54iJ6OS+MOQU3fi5ZXalA7RZvtC4RmrcCkaTf3i0f+5xejYIFgzXdYGMVm8DUc82tDw1s4b6Pb19bgi1xXOQ0IKzRmZuGxnvkRN61dnYdnpnnNuG97HXgVjiOigZXVLZkWazUdnf9zXqmkC+KxPfa4Ldqg0TMjQ9J14n6TXxRti8Tt0xMa1Uzho7VdsxdJy35Bghy398O6X8VdX6parfzEkX7c/JzcA3TIMJ9+S1dy3J4Tb2URB5367W6h7cDeXtGmwLTFu75Q1CNqRJkUGbSrX2NyMqG5tc8oaTM+OWvLxcbKPRy9T6qN7x2JmCHHaapf8/8VR9wCy2PwE5j+KWhmctEHqqOgrtG5gsjC0eCPJsposxZWyM7M6aUpXe3w+olBfKq9apUGStUSU=" | ||
api_key: | ||
secure: "QprkaqQ+WCvZQR4qIEs5iS6peMCbRd8Hgt0s6HfdmhavNXwDFY8Bkdf6zJwWHLiqs4pyClXDZ2f6QiOs7y9IvJZ+wOIbsf4N5V6s06zOxJ0NAOwhe0mgWS3Us0zgXIfmW4BpmGnU4ql/qGL+9vNfyQJ7wxEJxVK7hiYh9Epu49E2jmefDqTX+SNSrDCg4HkRcxerxYGnAJDCP50QaNlyLSciODD6wHaddrSYkdvmISLMnLHug61OkE4OBIOWXfYV+e31kDj+zgczAfVQgekDKtaimCQclHFrmaEPl0KIm6wsDQAw5HWkepA/WZfv4SbCrDaKJDZw+LBI7dR0ezmiOH/zmWWrRW7D4wjkDGiumWjA8etuf8I4GRyC/d1RS+hnlvPr0Bu+WljuVxLoK3nhZOdiK5t4QlVDoGankkRjLylwFQgo8tzu5N0dc26z3ClowTwcKsjStmFr53gjCD7l3qoFjyPot1JlW3LPhG9Nch7rK33/7ONqVai3zxb1xB9ynd8TSzKi4/66LeYEDcGVM5A9Vmkp+egCnOhkOAXdI8O4jid98NANir+U4xmUYZ2PAMNmSeHlpSpwH2pC1/BHpDKA9RZEuEdr3sgmtuXXwwOCp+xvuVwxZZ6+gVEjG4nGTqSNxUIq1fzjGih8ElJtbM1Uhh2dVE9uxW7EC/oCuuk=" | ||
on: | ||
tags: true | ||
all_branches: true | ||
repo: parse-community/parse-server |
Oops, something went wrong.