cantera/appveyor.yml
Bryan W. Weber 33840414e5 [CI] Fix Appveyor warnings about scripts not on PATH
Apparently new versions of NumPy include scripts that Pip feels the need
to warn aren't on the PATH. However, we don't use these scripts, so
disable the warning
2018-07-29 17:47:14 -04:00

28 lines
1.7 KiB
YAML

version: 1.0.{build}
install:
- ps: |
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 --no-warn-script-location numpy
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 --no-warn-script-location numpy
build_script:
- 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\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))
$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))
if ( $sconsstatus ) { exit $sconsstatus }