forked from esa/pagmo2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (32 loc) · 1.18 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
language: cpp
sudo: required
# Do not build branches of the form "pr/*". By prefixing pull requests coming
# from branches inside the repository with pr/, this avoids building both the
# branch push _and_ the pull request.
branches:
except: /pr\/.*/
matrix:
include:
- env: PAGMO_BUILD="OSXDebug"
os: osx
osx_image: xcode9.4
- env: PAGMO_BUILD="OSXRelease"
os: osx
osx_image: xcode9.4
script:
- mkdir build
- cd build
# NOTE: currently, travis does not stop automatically if one of these
# 2 scripts returns an error code. Thus, we run them together as a single
# command, so that if install_deps.sh fails the whole build fails immediately
# rather than executing install_travis.sh as well. See
# https://github.com/travis-ci/travis-ci/issues/1066
- ../tools/install_deps.sh && ../tools/install_travis.sh
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/4e99a1581d9b99397e5f
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always