Browse Source

catch apt-get problem for wine install and install packages for MinGW + sample apps

Ser Lev Arris 10 years ago
parent
commit
6fd3863198
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .travis.yml

+ 5 - 1
.travis.yml

@@ -26,8 +26,12 @@ compiler:
   - gcc
   - gcc
   - clang
   - clang
 
 
+before_install:
+  - sudo apt-get update -qq
+  - if [ $WINDOWS ]; then sudo apt-get install -qq gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64 wine ; fi
+  - if [ $LINUX ]; then sudo apt-get install -qq freeglut3-dev libxmu-dev libxi-dev ; fi
+
 install:
 install:
-  - if [ $WINDOWS ]; then travis_retry sudo apt-get install -q -y gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 binutils-mingw-w64-x86-64; fi 
   - if [ $ANDROID ]; then wget -c http://dl.google.com/android/ndk/android-ndk-${PV}-${PLATF}.tar.bz2 && tar xf android-ndk-${PV}-${PLATF}.tar.bz2 ; fi
   - if [ $ANDROID ]; then wget -c http://dl.google.com/android/ndk/android-ndk-${PV}-${PLATF}.tar.bz2 && tar xf android-ndk-${PV}-${PLATF}.tar.bz2 ; fi
 
 
 script:
 script: