Run less tests in macOS builds on Travis CI
This commit is contained in:
+4
-2
@@ -29,7 +29,9 @@ jobs:
|
|||||||
- name: macOS | x86_64 | Python 3.x
|
- name: macOS | x86_64 | Python 3.x
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.2
|
osx_image: xcode10.2
|
||||||
env: PYTHON=python3
|
env:
|
||||||
|
- PYTHON=python3
|
||||||
|
- PYTEST_ADDOPTS='-k "unit_test or test_0_basic" --suppress-no-test-exit-code'
|
||||||
|
|
||||||
- name: Windows | x86_64 | Python 3.6
|
- name: Windows | x86_64 | Python 3.6
|
||||||
os: windows
|
os: windows
|
||||||
@@ -53,6 +55,6 @@ jobs:
|
|||||||
# must repeat the s390x job above exactly to match
|
# must repeat the s390x job above exactly to match
|
||||||
- *linux_s390x_36
|
- *linux_s390x_36
|
||||||
|
|
||||||
install: $PYTHON -m pip install -r requirements-dev.txt
|
install: $PYTHON -m pip install -r requirements-dev.txt pytest-custom-exit-code
|
||||||
|
|
||||||
script: $PYTHON ./bin/run_tests.py
|
script: $PYTHON ./bin/run_tests.py
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ init:
|
|||||||
- ps: |
|
- ps: |
|
||||||
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
|
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
|
||||||
if (-not ($BRANCH -eq 'master' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {
|
if (-not ($BRANCH -eq 'master' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {
|
||||||
$env:PYTEST_ADDOPTS='-k "unit_test or _basic" --suppress-no-test-exit-code'
|
$env:PYTEST_ADDOPTS='-k "unit_test or test_0_basic" --suppress-no-test-exit-code'
|
||||||
}
|
}
|
||||||
|
|
||||||
install: python -m pip install -r requirements-dev.txt pytest-custom-exit-code
|
install: python -m pip install -r requirements-dev.txt pytest-custom-exit-code
|
||||||
|
|||||||
Reference in New Issue
Block a user