Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit2d5de12b5d9cd521ce424523ba1e8f38dd974b89 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-31 21:39:25 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-11-01 07:47:05 +0200
Files9587d770f521dfa189bc88bd3b3acd733f7df0e3
IPL-2d5de12b5d9cd521ce424523ba1e8f38dd974b89.tar
IPL-2d5de12b5d9cd521ce424523ba1e8f38dd974b89.tar.gz
IPL-2d5de12b5d9cd521ce424523ba1e8f38dd974b89.zip
Parent2ae8d62646199bbd61459475910b4f04b3eb6de8 (diff)
Tests for Linux
- Fixed test results upload
1 files changed, 18 insertions, 5 deletions
-rw-r--r--appveyor.yml23
diff --git a/appveyor.yml b/appveyor.yml
index 2f976fb..7071891 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:
@@ -17,6 +17,19 @@ build:
project: JSImpl/solution/JSImpl.sln
verbosity: minimal
+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"
@@ -25,7 +38,7 @@ 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