testing travis-ci #1

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 11:28:38 +02:00
parent e0b869a844
commit 43ab47d927
1 changed files with 23 additions and 15 deletions

View File

@ -1,20 +1,28 @@
sudo: false
language: cpp language: cpp
compiler: clang compiler: gcc
os: linux
dist: trusty dist: trusty
matrix: matrix:
include: include:
- script: - env:
- cd build - BUILD=Debug
- cmake -DCMAKE_BUILD_TYPE=Debug .. - BINDIR=debug
- make -j - env:
- script: - BUILD=Release
- cd build - BINDIR=bin
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
notifications: before_install:
email: #C++17
- phundrak@phundrak.fr - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
#C++17
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD ..
- make -j
- ../$BINDIR/projet_lzw -c -i ../$BINDIR/projet_lzw