forked from zhangf911/avim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 1.03 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: cpp
compiler:
- clang
before_install:
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo add-apt-repository -y ppa:smspillaz/cmake-3.0.2
- sudo add-apt-repository -y ppa:chris-lea/protobuf
- sudo add-apt-repository -y ppa:canonical-qt5-edgers/qt5-beta-proper
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo apt-get update
- sudo apt-get -y purge cmake
- sudo apt-get -y install -qq cmake
- sudo apt-get install -qq wget
- sudo apt-get install -qq boost1.55 libprotobuf-dev protobuf-compiler
- sudo apt-get -y install libqt5opengl5-dev qtbase5-dev libqt5widgets5 qt5-default
- mkdir -pv build
- git submodule update --init
before_script:
cd build && CXXFLAGS="-fPIC -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/ -I /usr/include/qt5/QtCore -I/usr/include/qt5/QtGui" cmake -DUSE_BOOST_THREAD=ON ..
script:
- make -j2
notifications:
email:
recipients:
on_success: change
on_failure: always