diff options
| Commit | 8f90af904002a028d37cbf25a07d81f7984577d1 (patch) | |
|---|---|---|
| Author | 2018-11-01 07:59:31 +0200 | |
| Committer | 2018-11-01 07:59:31 +0200 | |
| Files | 0bbdddfe8f4cf08e261f41b90619cee1e6921012 /appveyor.yml | |
| IPL-8f90af904002a028d37cbf25a07d81f7984577d1.tar IPL-8f90af904002a028d37cbf25a07d81f7984577d1.tar.gz IPL-8f90af904002a028d37cbf25a07d81f7984577d1.zip | ||
| Parent | 4c31ba3bfe9ab51ee25d02f008df848e24f21a98 (diff) | |
| Parent | 802eb1881ed1cf01c6b64f2af843f73aafc65ac4 (diff) | |
Merge pull request #31 from SofiaCPP/linux_tests
Linux tests
1 files changed, 21 insertions, 5 deletions
| -rw-r--r-- | appveyor.yml | 26 |
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 |
