Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ccxt/ccxt into zb-update-future
- Loading branch information
Showing
1,600 changed files
with
1,367,773 additions
and
283,014 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.git | ||
.dockerignore | ||
Dockerfile | ||
node_modules | ||
*.swp | ||
*.pyc |
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 @@ | ||
build/* |
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,4 +1,7 @@ | ||
*.* text eol=lf | ||
php/test/*.php linguist-generated=true | ||
php/*.php linguist-generated=true | ||
php/pro/*.php linguist-generated=true | ||
python/ccxt/*.py linguist-generated=true | ||
python/ccxt/pro/*.py linguist-generated=true | ||
python/ccxt/__init__.py linguist-generated=false |
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 @@ | ||
open_collective: ccxt |
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 |
---|---|---|
|
@@ -31,4 +31,7 @@ python/package.json | |
python/keys.json | ||
python/LICENSE.txt | ||
.env | ||
.cache | ||
*.swp | ||
.cache | ||
*.log | ||
*.un~ |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: doc/conf.py | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.6 | ||
install: | ||
- requirements: doc/requirements.txt |
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,47 +1,68 @@ | ||
language: python | ||
dist: focal | ||
dist: jammy | ||
python: | ||
- '3.8' | ||
php: | ||
- 7.4 | ||
- 3.8.3 | ||
git: | ||
depth: 1 | ||
cache: | ||
directories: | ||
- .cache | ||
- ".cache" | ||
before_install: | ||
- set -e | ||
- ". $HOME/.nvm/nvm.sh" | ||
- nvm install 13.7.0 | ||
- nvm use 13.7.0 | ||
- nvm ls | ||
- nvm ls-remote | ||
- nvm install v16.13.2 | ||
- rm -rf node_modules | ||
- npm install | ||
- sudo -H pip install --upgrade setuptools | ||
- sudo -H pip install --upgrade pip wheel requests pyopenssl | ||
- sudo -H pip install --ignore-installed six | ||
- sudo -H pip install --upgrade tox twine | ||
- pip install --upgrade setuptools | ||
- pip install --upgrade aiohttp requests cryptography pyopenssl | ||
- pip install ccxt | ||
- pip install requests[security] | ||
- git fetch --depth=50 --tags --verbose --progress | ||
# - phpenv global 7.4.2 | ||
- pecl channel-update pecl.php.net | ||
- pecl install ds | ||
- git checkout package.json package-lock.json | ||
- git config pull.rebase false | ||
- git fetch --depth=1 --tags --verbose --progress | ||
- pip install requests pyopenssl | ||
- pip install --ignore-installed six | ||
- pip install tox twine | ||
- pip install aiohttp cryptography | ||
- php -i | grep php.ini | ||
- php --version | ||
- composer install | ||
script: | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then | ||
npm config set git-tag-version=false && NPM_VERSION=$(npm version patch); fi | ||
- cp package.json README.md LICENSE.txt keys.json python | ||
- npm run force-build | ||
- cd python | ||
- tox -e doc | ||
- cd .. | ||
- ls "$VIRTUAL_ENV/lib/python3.8/site-packages/" | ||
- npm run test-base | ||
- bash -c 'node run-tests --js --python --php --verbose 5' 2>&1 | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} ./build/push.sh; fi | ||
- npm run test-base-ws | ||
- pip list | ||
- node run-tests --js --python-async --php-async 5 2>&1 & | ||
- rest_pid=$! | ||
- node run-tests-ws --js --python-async --php-async 5 2>&1 & | ||
- ws_pid=$! | ||
- wait $rest_pid | ||
- wait $ws_pid | ||
- git checkout master composer.json | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then | ||
env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} ./build/push.sh; | ||
fi | ||
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then | ||
cd python && env PYPI_TOKEN=${PYPI_TOKEN} ./deploy.sh && cd ..; fi | ||
after_failure: | ||
- dmesg | grep -i kill | ||
- sleep 4 | ||
notifications: | ||
slack: | ||
secure: ktACBU+k1AL0SXKHKNcEkWjx5Tha7OWyO1YeirwDxnQiI1KPfgs0sx8FenzBuH9imob3fU4DSpftIC9Zpa9pRIyKApIOMw3aGG4tY8DYiV7zTaHxs4GKHug2BdUG+U2/h6iaulS7CxiqVf9/6aZFMhYT+Dl3tbof0+Xin9OKXLc2QGSgjzHoxBu1FrHEMIqcoKzKHP7PHWTY7xSDvBHwuf4waAmXxuAw91xOCzYCteTcNS0vlHsP+fBlw7thySsn0T4ZDIjLYnlDacUbYeUXjJ2akzOSfd1+v53gVW5C9+3LoXwdUw35kGG/NSetdvxXt36dtdYRNRoX33hwxIoizP7MoIhQ2x7i9Q6hnT7N05Eu4xuYfIQrTcoD+2LWYtOYRjRJuJnHf9cI/vwSXii+P+ESXpTACjszREA/JvpL/WTUOXkbdgsubVLahCkLF6fab1zs/kNzQY//aw4P60v50hcNawenbMkhKyz5KXCsePyc+6rCgVJWYaontfjPudj4xmdpD9F87steboS6HVkYC/ED+D6XyC+MyDi3MjJ/RJ7OV0f+eZO7UoLFWvQPuv3bkUa8VhQjjiyrdNVOEIgUGhJ/OT//88aIWW2Qr4IaQulqAyUFQJd4NhbJuQbIr4vnJu0MEAVND6zM1fdRyS3LnncmPya/XhnnEQBkqLBfaFg= | ||
deploy: | ||
- provider: npm | ||
email: igor.kroitor@gmail.com | ||
api_key: | ||
secure: euGp3OIlxbY+ZqgJYOAE1MH4EyCVIRLxMksHcj+w/V6MEkRchLIUDE68kLdK5ZUFGHnoFQtR1N65i428gvcjy8P/0K0p9maVpZaHuk0Q2GrnIAAe0D6jZu2s2D0JPhWCZ5U4Aiek5ExhTblEYWTwOtpG/JwAa+2/IT+2DvtNf37HBM0tEvI3FLRexTv74vMDH172681UFHz2h0dvfgOzBwCiydsp6eihnV90AetsYT4Y9VpZDjAdmATO1ydLw8SnH2skWssmH8snyDDVOPkdu6mRBHZB6ckSZzyQLiIbn4dlzAt6Zi1/NjSJg4z/+vIK8o8SOHPu3AkCab+E6kBeuCBnphquIa/i3bToxJSa1AScisg+5rQZCsY/L7ey8El/nOvVn7B6xATk7w4Cm/dy5gTyriNqgFoJvDLhlntfPp+7w9GGc7Hi6UL9RWw0CCW9c2I1cyDmNpSv95gspMJAI847ykaHgXl01Cxo2yWGqwxpCR/suqdTySvo3NgqFQrM2aRkPQT+yQlL2hrrqX2l2w7gU+2y9W89WB/75x674RR3fpSID6HGrt52frZDk1mgi6ggHv0ta+hOHQCIhLM7tB/pR9ehF4RGcVjRTEBa0CG2XeXDWDFDjLEzZPmvf6vCL+PDMk91sR6YB+djsaPEwLV6pjWngYSrNdYVe1djdl8= | ||
after_deploy: | ||
- cat ~/.npm/_logs/*-debug.log | ||
env: | ||
global: | ||
secure: bH1hHeIbP6cwEFa3aYOch+sIaBsU+jFVDlVDxwJc4I4KC79OQWqkVqnNKzr+BNFUHi9IytOJ8ytu5+2imoaFCTJ+OpOZT3qX+kL8G0DSLLZrwx9NP8LtINfJM71w3V1t4Maww0PRakVksexZ5y62IjU0bPG9BmhmDsuSFimWlAgoGW0PtmhiX0nSxvF4cWqr1zdfCBg63+rmFzJcZGBU7Z/IE94X/SIoO9BvqzVcPrVaWFNy3+DoxbX2qEyNk0hpuMEgXjGubG0n/UWogIj71/h9K8SyRu561GWTf4OGA8eU/lJNwRFNNwljA2/DFVRK+xp5lIp4eFUK44XAVEcB3Y3z4/r2pSgfW5X9ZRI5/BgC3uawa0k53M3Nd+3HOY2PGe1XAIMoHO2rgZag/+IpXRkaKdrYC5jMwBWg5hoBjjXlaH33i7fmdACFFsHkDBUW0IHu5u0N4HNUBeFkd3AahRR2JyWbIx9fId8Sd8r2IqibiaLS61Y6NhNohQ1oWY+jWvmF5Fky1gDE+3p8xTcxNcsCa+2x32KqqQuN4f9RScCsV9SjDd4rHU/0b4Jyhvjd0nj0L6xXPfhzJPC1KYfJZAXa27dmuhXtC00IInVNL6SCVqICQyiG1KKdVOlkj7UZ/dfX37/mt381TqrWdC7bzOMYdcLRmrIuga3x2qTeudE= | ||
# old GITHUB_TOKEN | ||
# - secure: CQBKPcipKTvfgBi8KXaJ6KyjJL5GcWPEW7WrKZcTeM2AaNqTX8w3yuqjsezxVnQWLG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