Browse Source

Merge pull request #99 from mrexodia/citests

travis and appveyor configuration
yhirose 7 years ago
parent
commit
5da41fb38f
3 changed files with 22 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 12 0
      .travis.yml
  3. 9 0
      appveyor.yml

+ 1 - 0
.gitignore

@@ -23,3 +23,4 @@ Release
 ipch
 ipch
 *.dSYM
 *.dSYM
 .*
 .*
+!/.travis.yml

+ 12 - 0
.travis.yml

@@ -0,0 +1,12 @@
+# Environment
+language: cpp
+os: osx
+
+# Compiler selection
+compiler:
+  - clang
+
+# Build/test steps
+script: 
+  - cd ${TRAVIS_BUILD_DIR}/test
+  - make all

+ 9 - 0
appveyor.yml

@@ -0,0 +1,9 @@
+version: 1.0.{build}
+image: Visual Studio 2017
+build_script:
+- cmd: >-
+    cd test
+
+    msbuild.exe test.sln /verbosity:minimal /t:Build /p:Configuration=Debug;Platform=Win32
+test_script:
+- cmd: Debug\test.exe