From 4a6bd0f9fb064a8ab68b4045295697128bd725f3 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Thu, 3 May 2018 12:12:15 +0200 Subject: [PATCH] testing travis-ci #7 --- .travis.yml | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32cafe0..afc3f1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,29 @@ language: cpp compiler: clang os: linux dist: trusty +addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-trusty-5.0 + packages: + - g++-6 + - clang-5.0 matrix: include: - - script: - - cd build - - cmake -DCMAKE_BUILD_TYPE=Debug .. - - make -j - - script: - - cd build - - cmake -DCMAKE_BUILD_TYPE=Release .. - - make -j - -notifications: - email: - - phundrak@phundrak.fr + - env: + BUILD_TYPE=Debug + BIN_DIR=debug + CC=clang-5.0 + CXX=clang++-5.0 + - env: + BUILD_TYPE=Release + BIN_DIR=bin + CC=clang-5.0 + CXX=clang++-5.0 +script: + - cd build + - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. + - make -j + - ../$BIN_DIR/projet_lzw -c -i ../$BIN_DIR/projet_lzw