Branimir Karadžić 9 ani în urmă
părinte
comite
353c07edb1
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 2 4
      .travis.yml

+ 2 - 4
.travis.yml

@@ -6,9 +6,6 @@ matrix:
     - compiler: clang
     - compiler: clang
       os: osx
       os: osx
 
 
-install:
-  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
-
 addons:
 addons:
   apt:
   apt:
     sources:
     sources:
@@ -19,7 +16,8 @@ addons:
     - clang
     - clang
 
 
 script:
 script:
-  make test
+  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then make test CXX="g++-4.8" CC="gcc-4.8"; fi
+  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then make test; fi
 
 
 branches:
 branches:
   only:
   only: