Pārlūkot izejas kodu

- update travis.yml to also test compilation without the export part.

Alexander Gessler 12 gadi atpakaļ
vecāks
revīzija
540265f617
1 mainītis faili ar 9 papildinājumiem un 1 dzēšanām
  1. 9 1
      .travis.yml

+ 9 - 1
.travis.yml

@@ -2,11 +2,19 @@ before_install:
   - sudo apt-get install cmake
 
 before_script:
-  - cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES
+  - cmake -G "Unix Makefiles" -DASSIMP_ENABLE_BOOST_WORKAROUND=YES -DASSIMP_NO_EXPORT=$TRAVIS_NO_EXPORT
+
+env:
+  - TRAVIS_NO_EXPORT=YES
+  - TRAVIS_NO_EXPORT=NO
 
 language: cpp
+
 compiler:
   - gcc
   - clang
+
 script: make
 
+
+