File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ environment:
66 # https://www.appveyor.com/docs/build-configuration#secure-variables
77
88 matrix :
9+ # coveralls is not in the default env list
10+ - TOXENV : " coveralls"
911 # note: please use "tox --listenvs" to populate the build matrix below
1012 - TOXENV : " linting"
1113 - TOXENV : " py26"
@@ -36,7 +38,6 @@ install:
3638build : false # Not a C# project, build stuff at the test step instead.
3739
3840test_script :
41+ # if TOXENV is coveralls but %COVERALLS_REPO_TOKEN% is not defined (PRs or forks), skip it
42+ - if "%TOXENV%:%COVERALLS_REPO_TOKEN%" == "coveralls:" exit /b 0
3943 - C:\Python35\python -m tox
40- # coveralls is not in tox's envlist, plus for PRs the secure variable
41- # is not defined so we have to check for it
42- - if defined COVERALLS_REPO_TOKEN C:\Python35\python -m tox -e coveralls
You can’t perform that action at this time.
0 commit comments