mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Update travis ci script
This commit is contained in:
parent
26f42e03bc
commit
7cdd7773af
12
.travis.yml
12
.travis.yml
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user