Browse Source

travis config: use before make + make for building.

Kim Kulling 9 years ago
parent
commit
ab3745b7a3
1 changed files with 6 additions and 5 deletions
  1. 6 5
      .travis.yml

+ 6 - 5
.travis.yml

@@ -12,16 +12,17 @@ compiler:
   - gcc
   - clang
 
+before_script:
+  cmake . -DASSIMP_ENABLE_BOOST_WORKAROUND=YES
+  
 script:
-  cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES; make
+  make
 
 addons:
   coverity_scan:
     project:
       name: "assimp/assimp"
-      version: 3.2
-      description: "The Asset Importer Lib coverity run, branch coverity_scan"
     notification_email: [email protected]
-    build_command_prepend: cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES
-    build_command: make
+    build_command_prepend: "cmake . -DASSIMP_ENABLE_BOOST_WORKAROUND=YES"
+    build_command: "make"
     branch_pattern: coverity_scan