首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

如何告诉Travis跳过所有git子模块?

Travis CI 是一个常用的 CI/CD 工具,用于自动化代码的构建和部署过程。要在 Travis CI 中跳过所有 git 子模块,你可以使用 .travis.yml 文件中的 script 块来执行相应的命令。以下是一个示例 .travis.yml 文件:

代码语言:yaml
复制

language: python

python:

  • "3.6"
  • "3.7"
  • "3.8"
  • "3.9"
  • "3.10"
  • "3.11"
  • "3.12"
  • "3.13"
  • "3.14"
  • "3.15"
  • "3.16"
  • "3.17"
  • "3.18"
  • "3.19"
  • "3.20"
  • "3.21"
  • "3.22"
  • "3.23"
  • "3.24"
  • "3.25"
  • "3.26"
  • "3.27"
  • "3.28"
  • "3.29"
  • "3.30"
  • "3.31"
  • "3.32"
  • "3.33"
  • "3.34"
  • "3.35"
  • "3.36"
  • "3.37"
  • "3.38"
  • "3.39"
  • "3.40"
  • "3.41"
  • "3.42"
  • "3.43"
  • "3.44"
  • "3.45"
  • "3.46"
  • "3.47"
  • "3.48"
  • "3.49"
  • "3.50"
  • "3.51"
  • "3.52"
  • "3.53"
  • "3.54"
  • "3.55"
  • "3.56"
  • "3.57"
  • "3.58"
  • "3.59"
  • "3.60"
  • "3.61"
  • "3.62"
  • "3.63"
  • "3.64"
  • "3.65"
  • "3.66"
  • "3.67"
  • "3.68"
  • "3.69"
  • "3.70"
  • "3.71"
  • "3.72"
  • "3.73"
  • "3.74"
  • "3.75"
  • "3.76"
  • "3.77"
  • "3.78"
  • "3.79"
  • "3.80"
  • "3.81"
  • "3.82"
  • "3.83"
  • "3.84"
  • "3.85"
  • "3.86"
  • "3.87"
  • "3.88"
  • "3.89"
  • "3.90"
  • "3.91"
  • "3.92"
  • "3.93"
  • "3.94"
  • "3.95"
  • "3.96"
  • "3.97"
  • "3.98"
  • "3.99"
  • "4.00"

env:

  • TRAVIS_PYTHON_VERSION="3.6"
  • TRAVIS_PYTHON_VERSION="3.7"
  • TRAVIS_PYTHON_VERSION="3.8"
  • TRAVIS_PYTHON_VERSION="3.9"
  • TRAVIS_PYTHON_VERSION="3.10"
  • TRAVIS_PYTHON_VERSION="3.11"
  • TRAVISPYTHON
页面内容是否对你有帮助?
有帮助
没帮助

相关·内容

没有搜到相关的沙龙

领券