mirror of
https://github.com/UltraCoderRU/telebotxx.git
synced 2026-01-28 04:05:13 +00:00
Added .travis.yml.
This commit is contained in:
parent
369a23b983
commit
af459ddcc1
1 changed files with 44 additions and 0 deletions
44
.travis.yml
Normal file
44
.travis.yml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
language: cpp
|
||||
|
||||
sudo: false
|
||||
cache: ccache
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
|
||||
# gcc 4.9 default
|
||||
addons: &addons
|
||||
apt:
|
||||
packages: &packages
|
||||
- g++-4.9
|
||||
- clang-format-3.7
|
||||
- python-pip
|
||||
sources: &sources
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-precise-3.5
|
||||
- llvm-toolchain-precise-3.6
|
||||
- llvm-toolchain-precise-3.7
|
||||
- llvm-toolchain-precise-3.8
|
||||
|
||||
env:
|
||||
global:
|
||||
- TELEBOTXX_BUILD_TESTS=ON
|
||||
- TELEBOTXX_GENERATE_DOC=OFF
|
||||
matrix:
|
||||
- COMPILER=g++-4.9 CCOMPILER=gcc-4.9
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# Clang 3.7
|
||||
- env: COMPILER=clang++-3.7 CCOMPILER=clang-3.7
|
||||
addons:
|
||||
apt:
|
||||
packages: clang-3.7
|
||||
sources: *sources
|
||||
|
||||
before_script:
|
||||
- ./configure
|
||||
|
||||
script:
|
||||
- make -j2 VERBOSE=1
|
||||
Loading…
Add table
Reference in a new issue