[CI] Don't use the --egg option to pip to install SCons
--egg is removed in pip >= 10.0.0 and is no longer necessary to to install SCons with more recent versions of setuptools
This commit is contained in:
parent
0b8f0283aa
commit
b1a010e3a3
1 changed files with 6 additions and 4 deletions
10
appveyor.yml
10
appveyor.yml
|
|
@ -1,21 +1,23 @@
|
|||
version: 1.0.{build}
|
||||
install:
|
||||
- ps: |
|
||||
C:\Python27-x64\Scripts\pip.exe install --egg scons
|
||||
C:\Python27-x64\python.exe -m pip install --no-cache-dir --upgrade pip
|
||||
C:\Python27-x64\python.exe -m pip install --upgrade setuptools
|
||||
C:\Python27-x64\python.exe -m pip install --upgrade --no-warn-script-location wheel
|
||||
C:\Python27-x64\Scripts\pip.exe install scons
|
||||
C:\Python27-x64\Scripts\pip.exe install --no-cache-dir numpy
|
||||
C:\Python27-x64\Scripts\pip.exe install cython
|
||||
C:\Python27-x64\Scripts\pip.exe install --no-warn-script-location cython
|
||||
C:\Python27-x64\Scripts\pip.exe install 3to2
|
||||
C:\Python27-x64\Scripts\pip.exe install pypiwin32
|
||||
C:\Python35-x64\python.exe -m pip install --no-cache-dir --upgrade pip
|
||||
C:\Python35-x64\Scripts\pip.exe install --no-cache-dir numpy
|
||||
|
||||
build_script:
|
||||
- cmd: C:\Python27-x64\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y python3_cmd=C:\Python35-x64\python.exe
|
||||
- cmd: C:\Python27-x64\Scripts\scons build -j2 boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n VERBOSE=y python3_cmd=C:\Python35-x64\python.exe
|
||||
|
||||
test_script:
|
||||
- ps: |
|
||||
C:\Python27-x64\scons test
|
||||
C:\Python27-x64\Scripts\scons test
|
||||
$sconsstatus = $lastexitcode
|
||||
$wc = New-Object 'System.Net.WebClient'
|
||||
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\work\gtest-general.xml))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue