diff --git a/.travis.yml b/.travis.yml index e80c9fb9d..80cf9cc9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ compiler: - gcc before_install: - - apt-get update && apt-get install -y --no-install-recommends build-essential libglfw3-dev libglew-dev pkg-config libxrandr-dev libxi-dev + - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && apt-get install -y --no-install-recommends libglfw3-dev libglew-dev; fi script: - cd examples/opengl_example && make