File tree 2 files changed +27
-9
lines changed 2 files changed +27
-9
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
20
20
echo " Installing cmake now"
21
21
wget ${CMAKE_DOWNLOAD_PATH} /$CMAKE_FILENAME
22
22
tar xfz $CMAKE_FILENAME
23
- export PATH=" ` pwd` /${CMAKE_FILENAME%% .* } /CMake.app/Contents/bin" :$PATH :
23
+ export PATH=" ` pwd` /${CMAKE_FILENAME%% .tar.gz } /CMake.app/Contents/bin" :$PATH :
24
24
echo $PATH
25
25
26
26
# OS X: update brew cache:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
if [[ $TRAVIS_OS_NAME == ' osx' ]]; then
4
- # Install package dependencies for Mac OS X:
5
- brew unlink cmake
6
- brew install python libusb qt
7
- # Install numpy via pip:
8
- easy_install pip
9
- pip install numpy
4
+ if [[ $OPTION == ' modern' ]]; then
5
+ # Install package dependencies for Mac OS X:
6
+ brew unlink cmake
7
+ brew install python libusb qt5
8
+ export CMAKE_PREFIX_PATH=/usr/local/opt/qt5
9
+ # Install numpy via pip:
10
+ easy_install pip
11
+ pip install numpy
12
+ else
13
+ # Install package dependencies for Mac OS X:
14
+ brew unlink cmake
15
+ brew install python libusb qt
16
+ # Install numpy via pip:
17
+ easy_install pip
18
+ pip install numpy
19
+ fi
20
+
10
21
else
11
- # Install package dependencies for Linux:
12
- sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev python2.7 python-numpy cmake qt4-dev-tools
22
+
23
+ if [[ $OPTION == ' modern' ]]; then
24
+ # Install package dependencies for Linux:
25
+ sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev python2.7 python-numpy cmake qt5-default
26
+ else
27
+ # Install package dependencies for Linux:
28
+ sudo apt-get install -y libusb-1.0-0 libusb-1.0-0-dev python2.7 python-numpy cmake qt4-dev-tools
29
+ fi
30
+
13
31
fi
14
32
15
33
You can’t perform that action at this time.
0 commit comments