forked from speth/cantera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
25 lines (23 loc) · 1.39 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 1.0.{build}
install:
- ps: |
C:\Python27-x64\python.exe -m pip 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
C:\Python27-x64\Scripts\pip.exe install 3to2
C:\Python27-x64\Scripts\pip.exe install pypiwin32
C:\Python35-x64\Scripts\pip.exe install 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
test_script:
- ps: |
C:\Python27-x64\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 }