13 Star 5 Fork 6

openEuler / avocado

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
.travis.yml 3.34 KB
Copy Edit Web IDE Raw Blame History
Cleber Rosa authored 2020-10-07 16:13 . Travis CI: add a smokecheck on OS X
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: "Smokecheck on Windows"
os: windows
language: sh
python: "3.9"
before_install:
- choco install python3 --version 3.9.0
install:
- /c/Python39/python setup.py develop --user
script:
- /c/Python39/python -m avocado --help
- /c/Python39/python -m avocado run --test-runner=nrunner examples/tests/passtest.py
- name: "Smokecheck on OS X"
os: osx
language: c
osx_image: xcode10.3
compiler: clang
addons:
homebrew:
packages:
- python
update: false
install:
- python3 setup.py develop --user
script:
- python3 -m avocado --help
- python3 -m avocado run --test-runner=nrunner examples/tests/passtest.py
- 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 --verbose list --resolver selftests/unit/* selftests/functional/* selftests/*sh
- python3 -m unittest discover -v selftests.unit
allow_failures:
- python: "nightly"
- name: "Ad hoc checks on OS X"
Python
1
https://git.oschina.net/openeuler/avocado.git
git@git.oschina.net:openeuler/avocado.git
openeuler
avocado
avocado
master

Search