You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .travis.sh
+9-4
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
28
28
travis_time_end
29
29
30
30
travis_time_start setup.apt-get_install
31
-
ret=1;while [ $ret!= 0 ];do sudo apt-get install -qq -y git make gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng-dev xfonts-100dpi xfonts-75dpi && ret=0 ||echo"failed, retry";done# msttcorefonts could not install on 14.04 travis
31
+
ret=1;while [ $ret!= 0 ];do sudo apt-get install -qq -y git make gcc g++ libjpeg-dev libxext-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libpq-dev libpng-dev xfonts-100dpi xfonts-75dpi pkg-config libbullet-dev && ret=0 ||echo"failed, retry";done# msttcorefonts could not install on 14.04 travis
32
32
if [ "`uname -m`"=="x86_64" ] ;then sudo apt-get install -qq -y texlive-latex-base ptex-bin latex2html nkf poppler-utils ||echo"ok";fi# 16.04 does ont have ptex bin
33
33
travis_time_end
34
34
@@ -38,9 +38,11 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew list libpng &>/dev/null || brew install libpng
43
-
brew list mesalib-glw &>/dev/null || brew install mesalib-glw
41
+
# use HOMEBREW_NO_AUT_UPDATE to fix unexpected keyword error https://travis-ci.community/t/syntax-error-unexpected-keyword-rescue-expecting-keyword-end-in-homebrew/5623
42
+
brew list jpeg &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install jpeg
43
+
brew list libpng &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install libpng
44
+
brew list mesalib-glw &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install mesalib-glw
45
+
brew list bullet &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install bullet
0 commit comments