Files
ldc/.travis.yml
David Nadlinger 480d668ec9 Travis: Print "ldc2 -version" output after build is complete.
This is useful as it contains the host arch, ...
2013-03-11 23:04:19 +01:00

31 lines
1004 B
YAML

language: cpp
install:
- echo yes | sudo add-apt-repository ppa:dr-graef/llvm-3.1.precise
- sudo apt-get update -qq
- sudo apt-get install -qq $LLVM_PACKAGE libconfig++8-dev
env:
- DVER=2 LLVM_PACKAGE=llvm-3.0-dev LLVM_VERSION=3.0 TESTSUITE_FILTER=debug
- DVER=2 LLVM_PACKAGE=llvm-3.0-dev LLVM_VERSION=3.0 TESTSUITE_FILTER=release
- DVER=2 LLVM_PACKAGE=llvm-3.1 LLVM_VERSION=3.1 TESTSUITE_FILTER=debug
- DVER=2 LLVM_PACKAGE=llvm-3.1 LLVM_VERSION=3.1 TESTSUITE_FILTER=release
script:
- cmake -DD_VERSION=$DVER -DLLVM_CONFIG=/usr/bin/llvm-config-$LLVM_VERSION
- make
- bin/ldc2 -version # For environment info.
- ctest --output-on-failure -R $TESTSUITE_FILTER
notifications:
# Temporarily disabled due to time limit problems.
# email:
# recipients:
# - "ldc-dev@googlegroups.com"
# on_success: never
# on_failure: change
irc:
channels:
- "irc.freenode.org#ldc"
on_success: always
on_failure: always
use_notice: false
skip_join: true