|
|
@ -7,8 +7,8 @@ set -x
|
|
|
|
if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then
|
|
|
|
if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then
|
|
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
sudo apt-get -qq update
|
|
|
|
sudo apt-get -qq update
|
|
|
|
sudo apt-get -qq install g++-4.8 xorg-dev libglu1-mesa-dev libxcursor-dev
|
|
|
|
sudo apt-get -qq install g++-4.9 xorg-dev libglu1-mesa-dev libxcursor-dev
|
|
|
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
|
|
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90
|
|
|
|
(
|
|
|
|
(
|
|
|
|
git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1
|
|
|
|
git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1
|
|
|
|
mkdir glfw/build && cd glfw/build
|
|
|
|
mkdir glfw/build && cd glfw/build
|
|
|
|