1 Star 0 Fork 1

ganqx/avocado

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
os: linux
dist: xenial
language: python
cache: pip
arch: amd64
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "nightly"
env:
AVOCADO_LOG_DEBUG=yes
AVOCADO_CHECK_LEVEL=1
addons:
apt:
packages:
- enchant
- hunspell-en-us
- golang
install:
- pip install -r requirements-selftests.txt
script:
- make check
jobs:
include:
- name: "Code Coverage"
python: "3.8"
arch: amd64
env:
- SELF_CHECK_CONTINUOUS=yes
- CC_TEST_REPORTER_ID=387887b88a76f31c2c376219fc749689ea5975c8fe7fcd9609f1dcc139e053a6
install:
- pip install -r requirements-selftests.txt
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- make develop && ./selftests/run_coverage
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- python: "3.8"
arch: s390x
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis s390x builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- python: "3.8"
arch: ppc64le
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis ppc64 builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- python: "3.8"
arch: arm64
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis amd64 builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- name: "Ad hoc checks on OS X"
os: osx
language: c
osx_image: xcode10.3
compiler: clang
addons:
homebrew:
packages:
- python
update: false
install:
- python3 -m pip install -r requirements-selftests.txt
- python3 setup.py develop --user
script:
- python3 -m avocado --help
- python3 -m avocado nlist --verbose selftests/unit/* selftests/functional/* selftests/*sh
- python3 -m unittest discover -v selftests.unit
allow_failures:
- python: "nightly"
- os: osx
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ganqx/avocado.git
git@gitee.com:ganqx/avocado.git
ganqx
avocado
avocado
master

搜索帮助