-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
66 lines (61 loc) · 1.4 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: cpp
sudo: required
dist: trusty
cache:
directories:
- $TRAVIS_BUILD_DIR/test/build_macosx/third_party
- $TRAVIS_BUILD_DIR/test/build_linux/third_party
- $TRAVIS_BUILD_DIR/test/build_android/third_party
- $TRAVIS_BUILD_DIR/test/build_SIMULATOR/third_party
- $TRAVIS_BUILD_DIR/test/build_OS/third_party
- $TRAVIS_BUILD_DIR/test/build_WATCHOS/third_party
matrix:
fast_finish: true
include:
- os: linux
env: OSENV=linux
- os: osx
env: OSENV=android
osx_image: xcode9.0
- os: osx
env: OSENV=macosx
osx_image: xcode9.0
- os: osx
compiler: clang
env: IOS_PLATFORM=SIMULATOR
osx_image: xcode9.0
- os: osx
compiler: clang
env: IOS_PLATFORM=OS
osx_image: xcode9.0
# - os: osx
# compiler: clang
# env: IOS_PLATFORM=WATCHOS
# osx_image: xcode9.0
addons:
apt:
packages:
- gcc-4.8
- g++-4.8
- python
- python-pip
- python2.7-dev
- python-wheel
- clang-format-3.8
- build-essential
- automake
- libtool
- ccache
- cmake
- curl
- git
script:
- curl https://bootstrap.pypa.io/get-pip.py | sudo python
- sudo pip install --upgrade pip
- sudo pip install --ignore-installed six
- sudo pip install protobuf==3.5.2
- scripts/build.sh
notifications:
email:
on_success: change
on_failure: always