mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-20 04:10:18 +02:00
Run both LLVM 3.0 and 3.1 builds at Travis.
This commit is contained in:
+6
-5
@@ -1,15 +1,16 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
install:
|
install:
|
||||||
|
- echo yes | sudo add-apt-repository ppa:dr-graef/llvm-3.1.precise
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
# The Ubuntu 12.04 repos only have LLVM 3.0, should find a 3.1 PPA.
|
- sudo apt-get install -qq $LLVM_PACKAGE libconfig++8-dev
|
||||||
- sudo apt-get install -qq llvm-3.0-dev libconfig++8-dev
|
|
||||||
env:
|
env:
|
||||||
- DVER=1
|
- DVER=1 LLVM_PACKAGE=llvm-3.1 LLVM_VERSION=3.1
|
||||||
- DVER=2
|
- DVER=2 LLVM_PACKAGE=llvm-3.0-dev LLVM_VERSION=3.0
|
||||||
|
- DVER=2 LLVM_PACKAGE=llvm-3.1 LLVM_VERSION=3.1
|
||||||
before_script:
|
before_script:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
script:
|
script:
|
||||||
- cmake -DD_VERSION=$DVER -DLLVM_CONFIG=/usr/bin/llvm-config-3.0
|
- cmake -DD_VERSION=$DVER -DLLVM_CONFIG=/usr/bin/llvm-config-$LLVM_VERSION
|
||||||
- make
|
- make
|
||||||
- make test || { cat Testing/Temporary/LastTest.log; exit 1; }
|
- make test || { cat Testing/Temporary/LastTest.log; exit 1; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user