1 Star 1 Fork 23

李闯/avocado-vt

forked from openEuler/avocado-vt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
chunfuwen 提交于 2021-01-21 17:19 . Remove python 2.7 support in travis ci
language: python
python:
- "3.6"
- "3.7"
- "3.8"
sudo: false
install:
- pip install Sphinx==1.3b1
- pip install -r requirements-travis.txt
- git clone --depth 1 https://github.com/avocado-framework/avocado.git --branch $([ $TRAVIS_PYTHON_VERSION == "2.7" ] && echo 69lts || echo master) avocado-libs
- cd avocado-libs
- pip install -e .
- cd ..
- pip install -e .
script:
# Create some fake binaries to make vt-bootstrap happy
- mkdir -p /tmp/dummy_bin
- touch /tmp/dummy_bin/arping
- touch /tmp/dummy_bin/tcpdump
- chmod 777 /tmp/dummy_bin/*
- export PATH="/tmp/dummy_bin:$PATH"
# Setup Avocado-vt for functional tests
- AVOCADO_LOG_DEBUG=yes avocado vt-bootstrap --vt-skip-verify-download-assets --yes-to-all
# Run tests
- inspekt checkall --disable-lint W,R,C,E1002,E1101,E1103,E1120,F0401,I0011,E1003,W605 --disable-style W605,W606,E501,E265,W601,E402,E722,E741 --exclude avocado-libs,scripts/github --no-license-check
# Cleanup avocado libs
- rm -rf avocado-libs
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lichuang0103/avocado-vt.git
git@gitee.com:lichuang0103/avocado-vt.git
lichuang0103
avocado-vt
avocado-vt
master

搜索帮助