-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1350 from pytest-dev/appveyor-pypy
Test with pypy and enable coveralls in AppVeyor
- Loading branch information
Showing
3 changed files
with
32 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
environment: | ||
COVERALLS_REPO_TOKEN: | ||
secure: 2NJ5Ct55cHJ9WEg3xbSqCuv0rdgzzb6pnzOIG5OkMbTndw3wOBrXntWFoQrXiMFi | ||
# this is pytest's token in coveralls.io, encrypted | ||
# using pytestbot account as detailed here: | ||
# https://www.appveyor.com/docs/build-configuration#secure-variables | ||
|
||
install: | ||
- echo Installed Pythons | ||
- dir c:\Python* | ||
|
||
# install pypy using choco (redirect to a file and write to console in case | ||
# choco install returns non-zero, because choco install python.pypy is too | ||
# noisy) | ||
- choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1) | ||
- set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy | ||
- echo PyPy installed | ||
- pypy --version | ||
|
||
- C:\Python35\python -m pip install tox | ||
|
||
build: false # Not a C# project, build stuff at the test step instead. | ||
|
||
test_script: | ||
- 'set TESTENVS= | ||
flakes, | ||
py26, | ||
py27, | ||
py33, | ||
py34, | ||
py27-xdist, | ||
py35-xdist | ||
' | ||
- C:\Python35\python -m tox -e "%TESTENVS%" | ||
- C:\Python35\python -m tox | ||
# coveralls is not in tox's envlist, plus for PRs the secure variable | ||
# is not defined so we have to check for it | ||
- if defined COVERALLS_REPO_TOKEN C:\Python35\python -m tox -e coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters