Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBachmann committed Feb 7, 2021
1 parent eef582e commit 269ef0a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
python: pypy3
env:
- SIMULATE_WINFS=true
- os: windows
python: pypy3
env:
- SIMULATE_WINFS=false

- os: linux
dist: focal
python: 3.6
Expand Down Expand Up @@ -153,6 +158,23 @@ jobs:
python: 3.9
env:
- SIMULATE_WINFS=true

- os: windows
python: 3.6
env:
- SIMULATE_WINFS=false
- os: windows
python: 3.7
env:
- SIMULATE_WINFS=false
- os: windows
python: 3.8
env:
- SIMULATE_WINFS=false
- os: windows
python: 3.9
env:
- SIMULATE_WINFS=false
install: "pip install coverage coveralls" # or "coveralls" instead (alternative package)
script: python -B setup.py build && pip install -e . && coverage run --branch --include tests.py,tagsplorer/*.py --omit /home/travis/ tests.py && coverage html && coverage annotate tests.py
after_success:
Expand Down
3 changes: 0 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: '{build}.{branch}'
skip_branch_with_pr: true
install:
- ps: If(($env:PYTHON).Contains("pypy37")) { (New-Object Net.WebClient).DownloadFile('https://downloads.python.org/pypy/pypy3.7-v7.3.3-win32.zip', "$env:appveyor_build_folder\pypy3.zip"); 7z x pypy3.zip | Out-Null; move pypy3.7-v7.3.3-win32 C:\pypy3; copy C:\pypy3\pypy3.exe C:\pypy3\python.exe } # download and set up pypy
- ps: If(-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
Expand Down Expand Up @@ -53,8 +52,6 @@ after_test:
- ps: If(($env:PYTHON).Contains("pypy")) { & ($env:PYTHON + '\bin\coverage') 'html'; & ($env:PYTHON + '\bin\coverage') 'annotate' 'tests.py' 2>&1 } Else { coverage html; coverage annotate tests.py 2>&1 } 2>&1
- ps: dir "$env:appveyor_build_folder"
- ps: 7z a coverage.zip "$env:appveyor_build_folder\htmlcov\*"
- ps: Clear-Variable LastExitCode
- ps: exit 0
artifacts:
- path: htmlcov.zip
name: Coverage Report
Expand Down

0 comments on commit 269ef0a

Please sign in to comment.