diff --git a/.travis.yml b/.travis.yml index bc0c0f0856..ab3843d034 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,9 @@ matrix: - env: VERSION=4.9 BITS=32 compiler: gcc-4.9-32 os: linux + - env: VERSION=3.8 BITS=32 + compiler: clang-3.8-32 + os: linux - env: VERSION=4.9 BITS=64 compiler: gcc-4.9-64 os: linux diff --git a/travis.sh b/travis.sh index 4510e1aa99..484c0487a8 100755 --- a/travis.sh +++ b/travis.sh @@ -10,8 +10,8 @@ linux_32_before_install() { # Compilers if [ "${CXX}" = "clang++" ]; then - sudo apt-key adv --fetch-keys http://llvm.org/apt/llvm-snapshot.gpg.key - sudo add-apt-repository -y "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-${VERSION} main" + sudo apt-key adv --fetch-keys http://apt.llvm.org/llvm-snapshot.gpg.key + sudo add-apt-repository -y "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-${VERSION} main" # g++-4.9-multilib is necessary for compiler dependencies. 4.8 currently # has dependency issues, but 4.9 from the toolchain repo seems to work # fine, so let's just use that. @@ -83,8 +83,8 @@ linux_32_script() { linux_64_before_install() { # Compilers if [ "${CXX}" = "clang++" ]; then - sudo apt-key adv --fetch-keys http://llvm.org/apt/llvm-snapshot.gpg.key - sudo add-apt-repository -y "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-${VERSION} main" + sudo apt-key adv --fetch-keys http://apt.llvm.org/llvm-snapshot.gpg.key + sudo add-apt-repository -y "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-${VERSION} main" COMPILER_PACKAGE="clang-${VERSION}" fi if [ "${CXX}" = "g++" ]; then