forked from tschoonj/gtkmm-plplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (42 loc) · 1.07 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
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
#- clang
os:
- linux
- osx
env:
global:
- LD_LIBRARY_PATH=/usr/local/lib
- LD_RUN_PATH=/usr/local/lib
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then ./travis-before-install-linux.sh ; fi
- |
if [ $TRAVIS_OS_NAME == osx ] ; then
brew cask uninstall --force oclint || exit 1
brew uninstall --ignore-dependencies --force $(brew list) || exit 1
brew update || exit 1
brew install autoconf automake libtool gtkmm3 plplot mm-common wget pkg-config || exit 1
brew link --force gtkmm3 plplot mm-common || exit 1
fi
#install:
# - if [ $TRAVIS_OS_NAME == linux ]; then ./travis-deps.sh ; fi
script:
- autoreconf -fi || exit 1
- if [ $TRAVIS_OS_NAME == osx ]; then brew uninstall mm-common ; fi
- ./configure LDFLAGS="-Wl,-rpath -Wl,/usr/local/lib" || exit 1
- make || exit 1
- make distcheck || exit 1
branches:
only:
- master
notifications:
email:
recipients:
- Tom.Schoonjans@me.com
on_success: never
on_failure: always
#os:
# - osx