[shark] 16/79: trying out osx travis support

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Nov 26 15:39:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository shark.

commit ae56b67c94c47adac2eddc4680ed0a5fbca5a845
Author: Oswin Krause <oswin.krause at di.ku.dk>
Date:   Wed Oct 28 13:38:27 2015 +0100

    trying out osx travis support
---
 .travis.yml | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e04356a..e727c2c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,18 +6,26 @@ compiler:
   
 os:
   - linux
+  - osx
+  
+osx_image: xcode7.1
+  
+matrix:
+  exclude:
+    - os: osx 
+      compiler: gcc
 
 env:
   - OMP_NUM_THREADS=2
 
 before_install:
-  - sudo add-apt-repository -y ppa:boost-latest/ppa
-  - sudo apt-get update
-  - sudo apt-get install libboost1.55-dev  libboost-date-time1.55-dev libboost-filesystem1.55-dev 
-  - sudo apt-get install libboost-graph1.55-dev libboost-iostreams1.55-dev libboost-math1.55-dev 
-  - sudo apt-get install libboost-program-options1.55-dev
-  - sudo apt-get install libboost-random1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev 
-  - sudo apt-get install libboost-system1.55-dev libboost-test1.55-dev libboost-thread1.55-dev
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository -y ppa:boost-latest/ppa
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost1.55-dev  libboost-date-time1.55-dev libboost-filesystem1.55-dev 
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-graph1.55-dev libboost-iostreams1.55-dev libboost-math1.55-dev 
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-program-options1.55-dev
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-random1.55-dev libboost-regex1.55-dev libboost-serialization1.55-dev 
+  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libboost-system1.55-dev libboost-test1.55-dev libboost-thread1.55-dev
   
 before_script:  
   - mkdir build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git



More information about the debian-science-commits mailing list