lzw-assignment/.travis.yml

29 lines
587 B
YAML

language: cpp
compiler: gcc
dist: trusty
matrix:
include:
- env:
- BUILD=Debug
- BINDIR=debug
- env:
- BUILD=Release
- BINDIR=bin
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