Explorar o código

Add repo before update

Bryan Drewery %!s(int64=12) %!d(string=hai) anos
pai
achega
c35dc1a44d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -5,9 +5,9 @@ compiler:
   - gcc
 
 before_install:
+  - if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
   - sudo apt-get update
   - sudo apt-get install libcppunit-dev libcppunit-1.12-1 libssl-dev openssl tcl tcl-dev
-  - if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
   - if [ "$CXX" = "clang++" ]; then sudo apt-get install clang-3.4; fi
   - if [ "$CXX" = "g++" ]; then sudo apt-get install gcc-4.8; fi
   - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi