Website Summary Files Commits Branches @commit @diff @stats
path: root / appveyor.yml
diff options
context:
space:
mode:
1 files changed, 21 insertions, 5 deletions
-rw-r--r--appveyor.yml26
diff --git a/appveyor.yml b/appveyor.yml
index 2f976fb..87783ea 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,12 +1,12 @@
version: '{build}'
-os: Visual Studio 2015
+image:
+ - Visual Studio 2015
+ - Ubuntu
environment:
matrix:
- - compiler: msvc-15-seh
- generator: "Visual Studio 15 2017 Win64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ -
enabled_on_pr: yes
configuration:
@@ -16,16 +16,32 @@ configuration:
build:
project: JSImpl/solution/JSImpl.sln
verbosity: minimal
+ parallel: true
+
+for:
+-
+ matrix:
+ only:
+ - image: Ubuntu
+ build_script:
+ - make -C $APPVEYOR_BUILD_FOLDER/JSImpl/solution -j config=`echo ${CONFIGURATION} | sed -e 'y/DR/dr/'`64
+ test_script:
+ - '$APPVEYOR_BUILD_FOLDER/JSImpl/build/bin/$CONFIGURATION/Test'
+ after_test:
+ - curl -F "file=@$APPVEYOR_BUILD_FOLDER/test_detail.xml" "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"
+
before_test:
- appveyor AddMessage "Running Tests"
- appveyor SetVariable -Name "GTEST_OUTPUT" -Value "xml"
+ - echo Running tests for %APPVEYOR_JOB_ID%
+ - sh: echo Running tests for $APPVEYOR_JOB_ID
test_script:
- '%APPVEYOR_BUILD_FOLDER%/JSImpl/build/bin/%CONFIGURATION%/Test.exe'
after_test:
- - curl -F 'file=test_detail.xml' "https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%"
+ - curl -F "file=@%APPVEYOR_BUILD_FOLDER%/test_detail.xml" https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%
clone_depth: 1