Commit 06ffb62a31f8986d1cda864bb8c3a8967d5a65fa

Silvio Traversaro 2020-12-22T17:31:32

Merge pull request #93 from rhabacker/travis-cmake-support Add cmake build support to travis CI

diff --git a/.travis.yml b/.travis.yml
index ebc6834..3584048 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,6 +24,17 @@ jobs:
           packages:
             - mingw32
             - wine
+      env: ci_buildsys=cmake
+      # Check that we have a real i586-mingw32msvc-gcc compiler as sometimes it is just a symlink to i686-w64-mingw32-gcc
+      before_script: "i586-mingw32msvc-gcc -v 2>&1 | grep -q -x 'Target: i586-mingw32msvc'"
+
+    - dist: trusty
+      compiler: i586-mingw32msvc-gcc
+      addons:
+        apt:
+          packages:
+            - mingw32
+            - wine
       env: ci_buildsys=Makefile
       # Check that we have a real i586-mingw32msvc-gcc compiler as sometimes it is just a symlink to i686-w64-mingw32-gcc
       before_script: "i586-mingw32msvc-gcc -v 2>&1 | grep -q -x 'Target: i586-mingw32msvc'"