Browse Source

force gcc-4.8 on travis

Julius Pfrommer 10 years ago
parent
commit
fe794f6c91
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -27,12 +27,14 @@ before_install:
 script: 
    - mkdir build
    - cd build
+   - export CC=/usr/bin/gcc-4.8
    - cmake -DGENERATE_DOCUMENTATION=ON .. 
    - echo "Production build"
    - make
    - echo "Generate documentation"
    - make doc
    - echo "Debug build and unit tests"
+   - make clean
    - cmake -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTS=ON -DUSE_GCOV=ON .. 
    - make && make test
 after_success: