2015-01-15 02:54:41 +00:00
|
|
|
language: cpp
|
|
|
|
|
2013-01-05 20:31:17 +00:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-01-15 02:54:41 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
# g++4.8.1
|
|
|
|
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
|
|
|
|
# clang 3.4
|
|
|
|
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
|
|
|
|
install:
|
|
|
|
# g++4.8.1
|
|
|
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
|
|
|
|
# clang 3.4
|
|
|
|
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
|
|
|
|
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
|
|
|
|
|
|
|
|
script:
|
|
|
|
- make test
|
|
|
|
|
2013-01-05 20:39:50 +00:00
|
|
|
notifications:
|
2013-01-05 20:43:47 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
2013-09-22 12:43:47 +00:00
|
|
|
- "irc.freenode.org#gmqcc"
|
2013-01-05 20:43:47 +00:00
|
|
|
template:
|
2013-01-12 15:47:08 +00:00
|
|
|
- "[%{commit} : %{author}] %{message}"
|
2013-01-12 15:47:41 +00:00
|
|
|
- "%{build_url}"
|
2013-01-05 20:43:47 +00:00
|
|
|
skip_join: true
|