Skip to content
Snippets Groups Projects
Commit 937c7260 authored by adrien-matta's avatar adrien-matta
Browse files

* Testing travis on osx

parent 726fb7d4
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,16 @@ compiler:
before_install:
# Linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu/ trusty main universe"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install cern-archive-keyring; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install root-system -y; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install root-system -qq; fi
# OSX
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install homebrew/science/root; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install homebrew/science/geant4; fi
# Dumping stuff for check
- root-config --cflags
- root-config --version
script:
- cd NPLib
......@@ -35,6 +38,5 @@ branches:
- NPTool.2.dev
os:
- linux
- osx
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment