diff options
Diffstat (limited to 'scripts/travis')
-rwxr-xr-x | scripts/travis | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/travis b/scripts/travis index 4d28782..e5497c6 100755 --- a/scripts/travis +++ b/scripts/travis | |||
@@ -16,9 +16,11 @@ else | |||
16 | 16 | ||
17 | if [ -z $(which $CC) ]; then | 17 | if [ -z $(which $CC) ]; then |
18 | # Update Ubuntu 12.04 with current mingw toolchain | 18 | # Update Ubuntu 12.04 with current mingw toolchain |
19 | apt-get update && apt-get install -y python-software-properties | 19 | sudo apt-get update |
20 | apt-add-repository -y ppa:tobydox/mingw-x-precise | 20 | sudo apt-get install -y python-software-properties |
21 | apt-get update && apt-get install -y $ARCH-x-gcc make | 21 | sudo apt-add-repository -y ppa:tobydox/mingw-x-precise |
22 | sudo apt-get update | ||
23 | sudo apt-get install -y $ARCH-x-gcc make | ||
22 | export PATH=$PATH:/opt/$ARCH/bin | 24 | export PATH=$PATH:/opt/$ARCH/bin |
23 | fi | 25 | fi |
24 | 26 | ||