Skip to content

Commit de150ec

Browse files
authored
Merge pull request #208 from techtonik/patch-3
Appveyor: Update pip and run `gl` as a smoke test
2 parents 28ae9f9 + 1c1cb88 commit de150ec

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.appveyor.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,21 @@ environment:
1515
PYTHON: 'C:\Python39-x64\python.exe'
1616

1717
init:
18-
- cmd: '%PYTHON% -m pip install -U nose wheel'
18+
- cmd: '%PYTHON% -m pip install -U pip'
19+
- cmd: '%PYTHON% -m pip install -U nose'
1920

20-
build: off
21+
build_script:
22+
# build and install `gl` binary (end to end test also use it)
23+
- cmd: '%PYTHON% -m pip install -r requirements.txt .'
2124

2225
before_test:
2326
- cmd: git config --global user.name "appveyor-test"
2427
- cmd: git config --global user.email "appveyor@test.com"
2528

2629
test_script:
30+
- cmd: dir /a:h
31+
- cmd: gl
2732
- ps: |
28-
# e2e tests require `gl` binary
29-
&$env:PYTHON -m pip install -r requirements.txt .
3033
# 'gl' is installed in Python Scripts directory
3134
$env:PATH += ";$(Split-Path $env:PYTHON)\Scripts"
3235
&$env:PYTHON setup.py nosetests --logging-level=WARN --with-xunit

0 commit comments

Comments
 (0)