Commit c04d2b78 authored by mercury233's avatar mercury233

test travis mac version

parent 715a6e14
...@@ -10,7 +10,7 @@ env: ...@@ -10,7 +10,7 @@ env:
- USE_IRRKLANG: 1 - USE_IRRKLANG: 1
sudo: required sudo: required
dist: xenial dist: xenial
osx_image: xcode8.3 osx_image: xcode9.4
git: git:
submodules: false submodules: false
addons: addons:
...@@ -44,7 +44,6 @@ before_install: ...@@ -44,7 +44,6 @@ before_install:
ls /usr/local/include; ls /usr/local/include;
sudo rm -rf /usr/local/include/unistring; sudo rm -rf /usr/local/include/unistring;
sudo rm -rf /usr/local/include/lzma; sudo rm -rf /usr/local/include/lzma;
sudo rm -rf /usr/local/include/lua5.2;
sudo rm -f /usr/local/include/CGAL/stddef.h; fi sudo rm -f /usr/local/include/CGAL/stddef.h; fi
#- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip; unzip irrlicht-1.8.4.zip ; cd irrlicht-1.8.4/ ; cp ../premake/irrlicht/irrlicht-mac.patch . ; patch -p1 < irrlicht-mac.patch ; cd source/Irrlicht/MacOSX/ ; xcodebuild -project MacOSX.xcodeproj ; cp build/Release/libIrrlicht.a /usr/local/lib/ ; cp -r ../../../include /usr/local/include/irrlicht ; cd ../../../../ ; fi #- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip; unzip irrlicht-1.8.4.zip ; cd irrlicht-1.8.4/ ; cp ../premake/irrlicht/irrlicht-mac.patch . ; patch -p1 < irrlicht-mac.patch ; cd source/Irrlicht/MacOSX/ ; xcodebuild -project MacOSX.xcodeproj ; cp build/Release/libIrrlicht.a /usr/local/lib/ ; cp -r ../../../include /usr/local/include/irrlicht ; cd ../../../../ ; fi
...@@ -80,6 +79,7 @@ script: ...@@ -80,6 +79,7 @@ script:
echo $CERTIFICATE | base64 --decode --output cert.p12; echo $CERTIFICATE | base64 --decode --output cert.p12;
security create-keychain -p "" build.keychain; security unlock-keychain -p "" build.keychain; security create-keychain -p "" build.keychain; security unlock-keychain -p "" build.keychain;
security import cert.p12 -k build.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign; security import cert.p12 -k build.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign;
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k keychainPass keychainName
codesign --deep --keychain build.keychain --sign "$(security find-identity -v -p codesign --deep --keychain build.keychain --sign "$(security find-identity -v -p
codesigning build.keychain | head -1 | grep -o '".*"' | tr -d '"')" ygopro.app; codesigning build.keychain | head -1 | grep -o '".*"' | tr -d '"')" ygopro.app;
fi 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