Warning messages from older pip versions cause AppVeyor to think that the build has failed and abort.
20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
version: 1.0.{build}
|
|
install:
|
|
- ps: |
|
|
C:\Python27-x64\Scripts\pip.exe install --upgrade pip
|
|
C:\Python27-x64\Scripts\pip.exe install --egg scons
|
|
C:\Python27-x64\Scripts\pip.exe install numpy
|
|
C:\Python27-x64\Scripts\pip.exe install cython
|
|
|
|
build_script:
|
|
- cmd: C:\Python27-x64\scons build boost_inc_dir=C:\Libraries\boost_1_62_0 debug=n
|
|
|
|
test_script:
|
|
- ps: |
|
|
C:\Python27-x64\scons test
|
|
$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))
|
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\work\gtest-thermo.xml))
|
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\work\gtest-equil.xml))
|
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\work\gtest-kinetics.xml))
|
|
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\test\work\gtest-transport.xml))
|