mirror of https://github.com/Nheko-Reborn/nheko
parent
407afcd2f2
commit
3d3f2ec33e
@ -0,0 +1,7 @@ |
||||
#!/usr/bin/env bash |
||||
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test |
||||
sudo add-apt-repository -y ppa:beineri/opt-qt562-trusty |
||||
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x |
||||
sudo apt-get update -qq |
||||
sudo apt-get install -qq -y gcc-6 g++-6 clang qt56base cmake |
@ -0,0 +1,25 @@ |
||||
language: cpp |
||||
sudo: required |
||||
dist: trusty |
||||
|
||||
matrix: |
||||
include: |
||||
- os: osx |
||||
osx_image: xcode7 |
||||
compiler: clang |
||||
- os: osx |
||||
osx_image: xcode8 |
||||
compiler: clang |
||||
- os: linux |
||||
compiler: gcc |
||||
- os: linux |
||||
compiler: clang |
||||
install: |
||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install qt5; fi |
||||
- if [ $TRAVIS_OS_NAME == osx ]; then export CMAKE_PREFIX_PATH=/usr/local/opt/qt5; fi |
||||
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux.sh ; fi |
||||
before_script: |
||||
- if [ $TRAVIS_OS_NAME == linux ]; then source /opt/qt56/bin/qt56-env.sh; fi |
||||
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release |
||||
script: |
||||
- make -C build -j2 |
Loading…
Reference in new issue