This commit is contained in:
mutouyun 2018-12-17 15:03:01 +08:00
commit 2c0e2ef1df

View File

@ -5,6 +5,8 @@ matrix:
include: include:
- os: linux - os: linux
compiler: gcc compiler: gcc
- os: linux
compiler: clang
install: install:
- sudo apt-get update - sudo apt-get update
@ -13,8 +15,8 @@ install:
script: script:
- qmake -v - qmake -v
- cd ./build - cd ./build
- qmake -o Makefile src.pro - qmake -o Makefile src.pro QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX
- qmake -o MakefileTest test.pro - qmake -o MakefileTest test.pro QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX
- make && make -f MakefileTest && export LD_LIBRARY_PATH=../output:$LD_LIBRARY_PATH && ../output/test - make && make -f MakefileTest && export LD_LIBRARY_PATH=../output:$LD_LIBRARY_PATH && ../output/test
notifications: notifications: