testing travis-ci #5

This commit is contained in:
Phuntsok Drak-pa 2018-05-03 11:59:17 +02:00
parent c332361b0d
commit a23a42e86d

View File

@ -3,31 +3,31 @@ os: linux
dist: trusty dist: trusty
matrix: matrix:
include: include:
- env: - env:
- CC=clang-5.0 - CC=clang-5.0
CXX=clang++-5.0 CXX=clang++-5.0
BUILD_TYPE=Release BUILD_TYPE=Release
BIN_DIR=bin BIN_DIR=bin
addons: &clang40 addons: &clang40
apt: apt:
packages: packages:
- g++-5 - g++-5
- clang-5.0 - clang-5.0
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0 - llvm-toolchain-trusty-5.0
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main' - sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- env: - env:
- CC=clang-5.0 - CC=clang-5.0
- CXX=clang++-5.0 - CXX=clang++-5.0
- BUILD_TYPE=Release - BUILD_TYPE=Release
- BIN_DIR=bin - BIN_DIR=bin
addons: *clang40 addons: *clang40
script: script:
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE=$BUILD .. - cmake -DCMAKE_BUILD_TYPE=$BUILD ..
- make -j - make -j
- ../$BINDIR/projet_lzw -c -i ../$BINDIR/projet_lzw - ../$BINDIR/projet_lzw -c -i ../$BINDIR/projet_lzw