From 6fd3863198a5057e99ede935e88d4f004758650a Mon Sep 17 00:00:00 2001 From: Ser Lev Arris Date: Tue, 31 Mar 2015 21:35:58 +0200 Subject: [PATCH] catch apt-get problem for wine install and install packages for MinGW + sample apps --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cfa7342f5..158994c58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,12 @@ compiler: - gcc - 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: - - 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 script: