Commit f8ed949e authored by mercury233's avatar mercury233

mac test

parent 1a7860c1
...@@ -34,14 +34,10 @@ before_install: ...@@ -34,14 +34,10 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update; brew update;
brew install freetype libevent sqlite dylibbundler; brew install freetype libevent sqlite dylibbundler;
sudo rm -rf /usr/local/include/unistring; sudo cp -r /usr/local/include/freetype2 ./freetype2;
sudo rm -rf /usr/local/include/lzma; sudo rm -rf /usr/local/include/*;
sudo rm -rf /usr/local/include/bits; sudo cp -r ./freetype2 /usr/local/include/freetype2;
sudo rm -rf /usr/local/include/sys; fi
sudo rm -f /usr/local/include/features.h;
sudo rm -f /usr/local/include/stdint.h;
sudo cat /usr/include/sys/resource.h;
sudo rm -f /usr/local/include/CGAL/stddef.h; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir irrlicht ; cd irrlicht ; curl --retry 5 --location https://github.com/moecube/irrlicht/releases/download/test/irrlicht-mycard-mac.tar.gz | tar zfx - ; cp libIrrlicht.a /usr/local/lib/ ; sudo cp -r include /usr/local/include/irrlicht ; cd .. ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir irrlicht ; cd irrlicht ; curl --retry 5 --location https://github.com/moecube/irrlicht/releases/download/test/irrlicht-mycard-mac.tar.gz | tar zfx - ; cp libIrrlicht.a /usr/local/lib/ ; sudo cp -r include /usr/local/include/irrlicht ; cd .. ; fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment