Commit 3a0e2232 authored by nanahira's avatar nanahira

Update .travis.yml

parent 5e65b167
......@@ -21,7 +21,7 @@ env:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update > /dev/null;
brew install freetype libevent sqlite dylibbundler > /dev/null;
brew install freetype libevent sqlite dylibbundler dos2unix > /dev/null;
fi
- curl --location --retry 5 http://www.lua.org/ftp/lua-5.3.4.tar.gz | tar zfx -
......@@ -46,7 +46,7 @@ before_install:
unzip -q irrlicht-1.8.4.zip;
cd irrlicht-1.8.4/;
cp -rf ../premake/irrlicht/irrlicht-mac.patch .;
sed -i 's/\r//g' irrlicht-mac.patch;
dos2unix irrlicht-mac.patch;
patch -p1 < irrlicht-mac.patch;
cd source/Irrlicht/MacOSX/;
xcodebuild -project MacOSX.xcodeproj > /dev/null;
......@@ -60,8 +60,16 @@ before_install:
- mv -f irrklang/plugins/ikpMP3 ikpmp3
- cd ikpmp3
- cp -rf ../premake/ikpmp3/* .
- sed -i 's/\r//g' ikpMP3.cpp
- sed -i 's/\r//g' ikpMP3.patch
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
dos2unix CIrrKlangAudioStreamMP3.cpp;
dos2unix ikpMP3.cpp;
dos2unix ikpMP3.patch;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sed -i 's/\r//g' CIrrKlangAudioStreamMP3.cpp;
sed -i 's/\r//g' ikpMP3.cpp;
sed -i 's/\r//g' ikpMP3.patch;
fi
- patch -p1 < ikpMP3.patch
- cd ..
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
......
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