forked from analogdevicesinc/scopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·50 lines (41 loc) · 1.05 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
language: cpp
sudo: required
cache:
ccache: true
directories:
- .ccache
- ${TRAVIS_BUILD_DIR}/deps
python:
- "3.5"
matrix:
fast_finish: true
include:
- compiler: clang
os: osx
osx_image: xcode7.3
env: LDIST=-osx_10.11
- compiler: clang
os: osx
osx_image: xcode8.3
env: LDIST=-osx_10.12
- compiler: gcc
os: linux
dist: trusty
env: LDIST=-trusty
- compiler: gcc
os: linux
dist: xenial
env: LDIST=-xenial
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./CI/travis/before_install_darwin.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./CI/travis/before_install_linux.sh ; fi
script:
- ${TRAVIS_BUILD_DIR}/CI/travis/make.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cd ${TRAVIS_BUILD_DIR}/build; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ${TRAVIS_BUILD_DIR}/CI/travis/package_darwin.sh; fi
notifications:
email:
on_success: change
on_failure: always
before_deploy:
- . ${TRAVIS_BUILD_DIR}/CI/travis/before_deploy.sh