Skip to content

Commit 0a47e26

Browse files
committed
added the windows build for travis CI having py2 interpreter
1 parent 6778882 commit 0a47e26

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ env:
3131
# https://docs.travis-ci.com/user/osx-ci-environment/
3232
matrix:
3333
include:
34+
- os: windows
35+
language: shell
36+
before_install:
37+
- choco install python2 -x86
38+
- ln -s /c/Python27/python.exe /c/Python27/python2.7.exe
39+
env:
40+
- PATH="/c/Python27:/c/Python27/Scripts:$PATH"
41+
- TEST_SUITE="$PYTEST"
42+
- os: windows
43+
language: shell
44+
before_install:
45+
- choco install python2 -x86
46+
- ln -s /c/Python27/python.exe /c/Python27/python2.7.exe
47+
env:
48+
- PATH="/c/Python27:/c/Python27/Scripts:$PATH"
49+
- TEST_SUITE="./etc/release/release.sh"
3450
- os: osx
3551
env: TEST_SUITE="$PYTEST"
3652
language: generic

src/deltacode/test_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ def run_scan_click(options, monkeypatch=None, test_mode=True, expected_rc=0, env
4646
from click.testing import CliRunner
4747
from deltacode import cli
4848

49-
options = add_windows_extra_timeout(options)
50-
5149
if monkeypatch:
5250
monkeypatch.setattr(click._termui_impl, 'isatty', lambda _: True)
5351
monkeypatch.setattr(click , 'get_terminal_size', lambda : (80, 43,))

0 commit comments

Comments
 (0)