testing travis-ci #1
This commit is contained in:
parent
e0b869a844
commit
43ab47d927
36
.travis.yml
36
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user