File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ environment:
6
6
# https://www.appveyor.com/docs/build-configuration#secure-variables
7
7
8
8
matrix :
9
+ # coveralls is not in the default env list
10
+ - TOXENV : " coveralls"
9
11
# note: please use "tox --listenvs" to populate the build matrix below
10
12
- TOXENV : " linting"
11
13
- TOXENV : " py26"
@@ -29,14 +31,11 @@ install:
29
31
- echo Installed Pythons
30
32
- dir c:\Python*
31
33
32
- - if "%TOXENV%" == "pypy" scripts\install-pypy.bat
34
+ - if "%TOXENV%" == "pypy" call scripts\install-pypy.bat
33
35
34
36
- C:\Python35\python -m pip install tox
35
37
36
38
build : false # Not a C# project, build stuff at the test step instead.
37
39
38
40
test_script :
39
- - 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
41
+ - call scripts\call-tox.bat
Original file line number Diff line number Diff line change
1
+ REM skip "coveralls" run in PRs or forks
2
+ if " %TOXENV% " == " coveralls" (
3
+ if not defined COVERALLS_REPO_TOKEN (
4
+ echo skipping coveralls run because COVERALLS_REPO_TOKEN is not defined
5
+ exit /b 0
6
+ )
7
+ )
8
+ C:\Python35\python -m tox
You can’t perform that action at this time.
0 commit comments