Browse Source

redefining gcc-4.8 to match coverity config

Stasik0 10 years ago
parent
commit
3b82c75c59
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -24,7 +24,9 @@ before_install:
    - wget http://security.ubuntu.com/ubuntu/pool/main/c/check/check_0.9.10-6ubuntu3_amd64.deb
    - sudo dpkg -i check_0.9.10-6ubuntu3_amd64.deb
    - sudo pip install cpp-coveralls
-   - export CC=/usr/bin/gcc-4.8
+   - sudo update-alternatives --remove-all gcc 
+   - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
+   - sudo update-alternatives --config gcc
 script: 
    - mkdir -p build
    - cd build