testing travis-ci #1

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 11:28:38 +02:00
parent e0b869a844
commit 43ab47d927

View File

@ -1,20 +1,28 @@
sudo: false
language: cpp
compiler: clang
os: linux
compiler: gcc
dist: trusty
matrix:
include:
- script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make -j
- script:
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j
- env:
- BUILD=Debug
- BINDIR=debug
- env:
- BUILD=Release
- BINDIR=bin
notifications:
email:
- phundrak@phundrak.fr
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