Skip to content

Commit 8806c63

Browse files
committed
meta: stabalize CI configuration
1 parent b6e7f96 commit 8806c63

2 files changed

Lines changed: 23 additions & 15 deletions

File tree

.travis.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ windows-setup-steps: &windows-setup-steps
1313
env:
1414
- PYTHONUNBUFFERED=1
1515
install:
16-
- pip install --upgrade pip pipenv
16+
- pip install --user --upgrade pip pipenv
1717
- pipenv install --dev
1818

1919
osx-setup-steps: &osx-setup-steps
@@ -42,19 +42,22 @@ matrix:
4242
<<: *windows-setup-steps
4343
env:
4444
- GYP_MSVS_VERSION=2019
45-
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
45+
- PATH=/c/Python37:/c/Python37/Scripts:/C/Users/travis/AppData/Roaming/Python/Python37/Scripts:$PATH
4646
before_install:
4747
- choco install python3 visualstudio2019buildtools visualstudio2019-workload-vctools
4848
script: pipenv run -v test -f msvs
4949

50-
- name: "Windows: test on Python 2 with VS2017 Build Tools"
51-
<<: *windows-setup-steps
52-
env:
53-
- GYP_MSVS_VERSION=2017
54-
- PATH=/c/Python27:/c/Python27/Scripts:$PATH
55-
before_install:
56-
- choco install python2 visualstudio2017buildtools visualstudio2017-workload-vctools
57-
script: pipenv run -v test -f msvs
50+
# - name: "Windows: test on Python 2 with VS2017 Build Tools"
51+
# <<: *windows-setup-steps
52+
# env:
53+
# - GYP_MSVS_VERSION=2017
54+
# - GYP_BUILD_TOOL=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
55+
# - PATH=/c/Python27:/c/Python27/Scripts:/C/Users/travis/AppData/Roaming/Python/Scripts:$PATH
56+
# before_install:
57+
# - choco install python2 visualstudio2017buildtools visualstudio2017-workload-vctools
58+
# script:
59+
# - ls -la tools/vssetup.powershell
60+
# - pipenv run -v test -f msvs
5861

5962
- name: "macOS: test with make and ninja on Python 3.7"
6063
<<: *osx-setup-steps

azure-pipelines.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
strategy:
22
matrix:
3-
VS2015:
4-
msvsVersion: '2015'
5-
imageName: 'vs2015-win2012r2'
3+
# VS2015:
4+
# msvsVersion: '2015'
5+
# imageName: 'vs2015-win2012r2'
66
VS2017:
77
msvsVersion: '2017'
88
imageName: 'vs2017-win2016'
@@ -16,6 +16,11 @@ pool:
1616

1717

1818
steps:
19-
- script: python gyptest.py -f msvs -a -v
20-
env: { GYP_MSVS_VERSION: $(msvsVersion) }
19+
- task: PythonScript@0
2120
displayName: 'Run Tests'
21+
env:
22+
GYP_MSVS_VERSION: $(msvsVersion)
23+
inputs:
24+
scriptPath: gyptest.py
25+
arguments: -f msvs -a -v
26+
failOnStderr: false

0 commit comments

Comments
 (0)