forked from doyubkim/fluid-engine-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (38 loc) · 1 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
language: cpp
matrix:
include:
# Test Ubuntu 14.04 + clang
- os: linux
dist: trusty
sudo: required
compiler: clang
# Test Ubuntu 14.04 + gcc
- os: linux
dist: trusty
sudo: required
compiler: gcc
# Test OS X 10.10 + Xcode 6.4 + clang
- os: osx
osx_image: xcode6.4
compiler: clang
# Test OS X 10.10 + Xcode 6.4 + gcc
- os: osx
osx_image: xcode6.4
compiler: gcc
# Test OS X 10.11 + Xcode 7.3 + clang
- os: osx
osx_image: xcode7.3
compiler: clang
# Test OS X 10.11 + Xcode 7.3 + gcc
- os: osx
osx_image: xcode7.3
compiler: gcc
before_install:
- bin/run_linters
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install zlib1g-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install scons; fi
script:
- scons
- bin/unit_tests