2018-04-06 02:15:11 +00:00
|
|
|
language: cpp
|
2018-05-03 09:28:38 +00:00
|
|
|
compiler: gcc
|
2018-04-08 14:01:20 +00:00
|
|
|
dist: trusty
|
2018-04-08 13:13:40 +00:00
|
|
|
|
|
|
|
matrix:
|
2018-05-03 09:28:38 +00:00
|
|
|
include:
|
|
|
|
- env:
|
|
|
|
- BUILD=Debug
|
|
|
|
- BINDIR=debug
|
|
|
|
- env:
|
|
|
|
- BUILD=Release
|
|
|
|
- BINDIR=bin
|
2018-04-06 01:24:12 +00:00
|
|
|
|
2018-05-03 09:28:38 +00:00
|
|
|
before_install:
|
|
|
|
#C++17
|
|
|
|
- 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
|