forked from eudaq/eudaq
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
92 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
echo $CXX --version | ||
echo $CC --version | ||
|
||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
wget https://root.cern.ch/download/root_v5.34.36.macosx64-10.9-clang60.tar.gz | ||
tar -xvf root_v5.34.36.macosx64-10.9-clang60.tar.gz | ||
source root/bin/thisroot.sh | ||
|
||
# OS X: update brew cache: | ||
brew update | ||
|
||
if [[ "$CC" == "gcc" ]]; then CC=gcc-4.9; fi | ||
|
||
wget https://cmake.org/files/v3.4/cmake-3.4.3-Darwin-x86_64.tar.gz | ||
tar xfz cmake-3.4.3-Darwin-x86_64.tar.gz | ||
export PATH="`pwd`/cmake-3.4.3-Darwin-x86_64/CMake.app/Contents/bin":$PATH: | ||
echo $PATH | ||
else | ||
wget https://root.cern.ch/download/root_v5.34.36.Linux-ubuntu14-x86_64-gcc4.8.tar.gz | ||
tar -xvf root_v5.34.36.Linux-ubuntu14-x86_64-gcc4.8.tar.gz | ||
source root/bin/thisroot.sh | ||
|
||
sudo apt-get -qq update | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then | ||
# Install package dependencies for Mac OS X: | ||
brew unlink cmake | ||
brew install python libusb qt | ||
# Install numpy via pip: | ||
easy_install pip | ||
pip install numpy | ||
else | ||
# Install package dependencies for Linux: | ||
sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev python2.7 python-numpy cmake qt4-dev-tools | ||
fi | ||
|
||
|