diff --git a/scripts/travis b/scripts/travis index 95f9902..3253538 100755 --- a/scripts/travis +++ b/scripts/travis @@ -27,7 +27,7 @@ if [ "x$ARCH" = "xnative" ]; then else sudo apt-add-repository -y ppa:kalakris/cmake sudo apt-get update - sudo apt-get install -y $ARCH-x-gcc cmake ninja-build + sudo apt-get install -y cmake ninja-build cmake .. -GNinja ninja fi @@ -38,7 +38,7 @@ else fi export CC=$CPU-w64-mingw32-gcc - if ! hash $CC 2>/dev/null; then + if hash $CC 2>/dev/null; then # Update Ubuntu 12.04 with current mingw toolchain sudo apt-add-repository -y ppa:tobydox/mingw-x-precise sudo apt-get update