Merge remote-tracking branch 'upstream/master' into cmake_qt5
This commit is contained in:
commit
567a6db184
3 changed files with 13 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
script: mkdir build && cd build && cmake .. && make
|
script: mkdir build && cd build && cmake .. && make
|
||||||
before_install:
|
install: ./travis-dependencies.sh
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -y qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev build-essential
|
|
||||||
cache: apt
|
cache: apt
|
||||||
|
|
Binary file not shown.
9
travis-dependencies.sh
Executable file
9
travis-dependencies.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $TRAVIS_OS_NAME == "osx" ]] ; then
|
||||||
|
brew update
|
||||||
|
brew install qt cmake protobuf
|
||||||
|
else
|
||||||
|
sudo apt-get update -qq
|
||||||
|
sudo apt-get install -y qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
|
||||||
|
fi
|
Loading…
Reference in a new issue