Explorar o código

force gcc-4.8 on travis

Julius Pfrommer %!s(int64=10) %!d(string=hai) anos
pai
achega
fe794f6c91
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: