testing travis-ci #7

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 12:12:15 +02:00
parent 973c5897e5
commit 4a6bd0f9fb

View File

@ -3,18 +3,29 @@ language: cpp
compiler: clang compiler: clang
os: linux os: linux
dist: trusty dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- g++-6
- clang-5.0
matrix: matrix:
include: include:
- script: - env:
- cd build BUILD_TYPE=Debug
- cmake -DCMAKE_BUILD_TYPE=Debug .. BIN_DIR=debug
- make -j CC=clang-5.0
- script: CXX=clang++-5.0
- cd build - env:
- cmake -DCMAKE_BUILD_TYPE=Release .. BUILD_TYPE=Release
- make -j BIN_DIR=bin
CC=clang-5.0
notifications: CXX=clang++-5.0
email: script:
- phundrak@phundrak.fr - cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- make -j
- ../$BIN_DIR/projet_lzw -c -i ../$BIN_DIR/projet_lzw