Browse Source

travis and appveyor build test (#935)

* fixed unit test

* partial revert of cmake glob

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* changed build dont know if it works


Former-commit-id: 8502e8d856b618538d831b7a2e079abecfddd72b
teseoch 6 years ago
parent
commit
e9fc2a82eb
2 changed files with 6 additions and 6 deletions
  1. 2 3
      .appveyor.yml
  2. 4 3
      .travis.yml

+ 2 - 3
.appveyor.yml

@@ -32,11 +32,10 @@ build_script:
   # - cd ../tutorial
   # - ${PYTHON} 101_FileIO.py
   # - cd ../../
-  # Tutorials
-  - cd tutorial
+  # Tutorials and tests
   - mkdir build
   - cd build
-  - cmake -DLIBIGL_USE_STATIC_LIBRARY=ON -G "Visual Studio 15 2017 Win64" ../
+  - cmake -DLIBIGL_BUILD_TESTS=ON -DLIBIGL_BUILD_TUTORIALS=ON -G "Visual Studio 15 2017 Win64" ../
   - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
   - set MSBuildOptions=/v:m /p:Configuration=Debug /logger:%MSBuildLogger%
   - msbuild %MSBuildOptions% libigl_tutorials.sln

+ 4 - 3
.travis.yml

@@ -64,10 +64,11 @@ script:
 - ${PYTHON} 101_FileIO.py
 - cd ../../
 - rm -rf python/build
-# Tutorials
-- cd tutorial
+
+# Tutorials and tests
 - mkdir build
 - cd build
-- cmake -DCMAKE_BUILD_TYPE=$CONFIG -DLIBIGL_USE_STATIC_LIBRARY=ON ../
+- cmake -DCMAKE_BUILD_TYPE=$CONFIG -DLIBIGL_BUILD_TESTS=ON -DLIBIGL_BUILD_TUTORIALS=ON ../
 - make -j 2
+- make test
 - ccache --show-stats