testing travis-ci #7

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 12:12:15 +02:00
parent 973c5897e5
commit 4a6bd0f9fb
1 changed files with 23 additions and 12 deletions

View File

@ -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