Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript) - add typescript runtime test #22276

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Merge branch 'master' of https://github.com/ccxt/ccxt into typescript…

504b3bd
Select commit
Failed to load commit list.
Open

fix(typescript) - add typescript runtime test #22276

Merge branch 'master' of https://github.com/ccxt/ccxt into typescript…
504b3bd
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed May 20, 2024 in 5m 37s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #22276 fix(typescript).
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Version 3.8.3
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.8.3"
  ],
  "git": {
    "depth": 2
  },
  "cache": {
    "directories": [
      ".cache"
    ]
  },
  "before_install": [
    "set -e",
    ". $HOME/.nvm/nvm.sh",
    "nvm ls",
    "nvm ls-remote",
    "nvm install v18.17.0",
    "rm -rf node_modules",
    "npm ci --include=dev",
    "git checkout package.json package-lock.json",
    "git config pull.rebase false",
    "git fetch --depth=1 --no-tags --verbose --progress",
    "pip install tox cryptography requests ruff",
    "pip install twine",
    "pip install pyopenssl aiohttp",
    "pip install typing-extensions",
    "php -i | grep php.ini",
    "composer install",
    "sudo apt update",
    "sudo apt install apt-transport-https -y",
    "sudo apt update -y",
    "sudo apt-get install -y dotnet-sdk-7.0",
    "sudo apt-get install -y dotnet-runtime-7.0",
    "dotnet --version",
    "dotnet --info",
    "type -p curl >/dev/null || ( apt update &&  apt install curl -y)",
    "curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y"
  ],
  "script": [
    "./build.sh 2>&1",
    "git checkout master composer.json",
    "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ] && [ \"$TRAVIS_BRANCH\" = \"master\" ]; then export SHOULD_DEPLOY=false; DEPLOY_OUTPUT=$(env DEPLOY_CACHE=.cache/deploy SECONDS_BEFORE_NEXT_DEPLOY=43200 TRAVIS_COMMIT_MESSAGE=\"${TRAVIS_COMMIT_MESSAGE}\" ./build/deploy.sh) && SHOULD_DEPLOY=true; echo \"----------------\"; echo \"${DEPLOY_OUTPUT}\"; echo \"${SHOULD_DEPLOY}\"; echo \"----------------\"; if $SHOULD_DEPLOY; then echo \"Publishing\"; npm config set git-tag-version=false && NPM_VERSION=$(npm version patch); npm run vss && npm run copy-python-files && npm run buildCSRelease; env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} SHOULD_TAG=${SHOULD_DEPLOY} ./build/push.sh; ./cs/deploy.sh; cd python && env PYPI_TOKEN=${PYPI_TOKEN} ./deploy.sh && cd ..; else echo \"Not publishing\"; env COMMIT_MESSAGE=\"${TRAVIS_COMMIT_MESSAGE}\" GITHUB_TOKEN=${GITHUB_TOKEN} GH_TOKEN=${GITHUB_TOKEN} SHOULD_TAG=${SHOULD_DEPLOY} ./build/push.sh; fi; fi"
  ],
  "after_failure": [
    "sleep 10"
  ],
  "before_deploy": [
    "echo $SHOULD_DEPLOY"
  ],
  "deploy": [
    {
      "provider": "npm",
      "email": "[email protected]",
      "on": {
        "condition": [
          "$SHOULD_DEPLOY = true"
        ]
      },
      "api_token": {
        "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=PYPI_TOKEN=[secure]=GITHUB_TOKEN=[secure]=NUGGET_TOKEN=[secure]"
  ]
}