Update travis ci script

This commit is contained in:
Dawid Drozd 2018-07-31 09:58:12 +02:00
parent 26f42e03bc
commit 7cdd7773af

View File

@ -23,14 +23,6 @@ matrix:
packages: ['gcc-7', 'g++-7', 'cmake']
env: COMPILER='g++-7'
- os: linux
compiler: clang
addons:
apt:
sources: *all_sources
packages: ['clang-3.9', 'cmake']
env: COMPILER='clang++-3.9'
- os: linux
compiler: clang
addons:
@ -52,10 +44,6 @@ before_install:
- cmake -DCMAKE_BUILD_TYPE=Release .. -DCMAKE_INSTALL_PREFIX=~/.local/ && cmake --build . --target install
- cd ../..
before_script:
- if [ "$COMPILER" = "g++-6" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="g++-6" CC="gcc-6"; fi
- if [ "$COMPILER" = "clang++-3.9" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-3.9" CC="clang-3.9"; fi
script:
#Build & Install library
- (mkdir -p lib/build-debug/ && cd lib/build-debug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=~/.local/ .. && cmake --build . --target install)