1 Star 1 Fork 0

openComplianceCode/scancode-toolkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
legacy.travis.yml 2.18 KB
一键复制 编辑 原始数据 按行查看 历史
郑志鹏 提交于 2022-01-27 18:28 . first commit
################################################################################
# We use Travis to run minimal smoke tests suites on Pythons 3.6
# on macOS and Linux
# We also run the documentation build and the ABOUT file checks
################################################################################
language: python
matrix:
include:
# Run minimal test suite
- os: osx
env:
- PYTHON=36
- TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: generic
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: python
python: "3.6"
dist: xenial
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: python
python: "3.6"
dist: bionic
# Check and lint the documentation files
- os: linux
sudo: required
script:
- source bin/activate
- cd docs
- pip install -r requirements-doc.txt
# Check that the Sphinx Documentation build minimally
- sphinx-build -E source build
# Check for documentation style errors
- ./scripts/doc8_style_check.sh
language: python
python: "3.6"
dist: bionic
# Check and lint .ABOUT files
- os: linux
sudo: required
script:
- source bin/activate
- ./bin/about check thirdparty/
- ./bin/about check src/
- ./bin/about check etc/
- ./bin/about check scancode-toolkit.ABOUT
language: python
python: "3.6"
dist: bionic
before_install:
- chmod +x ./docs/scripts/sphinx_build_link_check.sh
- chmod +x ./docs/scripts/doc8_style_check.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
source ./etc/ci/macports-ci install;
yes | sudo port install python$PYTHON;
sudo port select --set python3 python$PYTHON;
export PATH=$PATH:$(python3 -c "import site; print(site.USER_BASE)")/bin;
python3 --version;
fi
install:
- ./configure --dev
script:
# If debugging, use a subset of tests to wait less:
# - ./bin/py.test -n 2 -vvs tests/scancode
# - echo $TEST_SUITE
- $TEST_SUITE
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openComplianceCode/scancode-toolkit.git
git@gitee.com:openComplianceCode/scancode-toolkit.git
openComplianceCode
scancode-toolkit
scancode-toolkit
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385