diff --git a/.travis.yml b/.travis.yml index 3a28485d..8500e8ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,16 @@ language: cpp install: + # LLVM 3.2 - sudo sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe' >> /etc/apt/sources.list" + + # LLVM 3.4 snapshots - sudo sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list" - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - + + # Some random Launchpad PPA for LLVM 3.3, should consder replacing this with + # the official Clang binary package from the llvm.org download page. + - echo yes | sudo add-apt-repository ppa:nmi/llvm-3.3 + - sudo apt-get update -qq - sudo apt-get install -qq $LLVM_PACKAGE libconfig++8-dev - if [[ "${OPTS}" == *MULTILIB*ON* ]]; then sudo apt-get install -qq gcc-multilib libcurl3:i386 ; fi @@ -23,8 +31,9 @@ matrix: script: - cmake $OPTS . - make - - bin/ldc2 -version # For environment info. - - ctest --output-on-failure -R $TESTSUITE_FILTER + # Outputs some environment info, plus makes sure we only run the test suite + # if we could actually build the executable. + - bin/ldc2 -version && ctest --output-on-failure -R $TESTSUITE_FILTER notifications: # Temporarily disabled due to time limit problems.