我正在按照这份特定的指南进行操作:https://jonathan.porta.codes/2015/04/17/automatically-build-your-unity3d-project-in-the-cloud-using-travisci-for-free/,以使用travis CI测试我的unity项目,但一直遇到同样的问题并不知道如何更改“安装程序”来解决此问题:
$ ./Scripts/install.sh
Downloading from http://download.unity3d.com/download_unity/a6d8d714de6f/MacEditorInstaller/ Unity-5.4.0f3.pkg:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16433 100 16433 0 0 16498 0 --:--:-- --:--:-- --:--:-- 16498
Installing Unity.pkg
installer: Error the package path specified was invalid: 'Unity.pkg'.
The command "./Scripts/install.sh" failed and exited with 1 during .
Your build has been stopped.
以下是我使用教程编写的脚本: .travis.yml
language: objective-c
osx_image: xcode61
rvm:
- 2.1.2
install:
- ./Scripts/install.sh
script:
- ./Scripts/build.sh
安装.sh #! /bin/sh
echo 'Downloading from http://download.unity3d.com/download_unity/a6d8d714de6f/MacEditorInstaller/Unity-5.4.0f3.pkg:
curl -o Unity.pkg http://download.unity3d.com/download_unity/a6d8d714de6f/MacEditorInstaller/Unity-5.4.0f3.pkg:
echo 'Installing Unity.pkg'
sudo installer -dumplog -package Unity.pkg -target /
任何对这个问题的帮助或指导解决方案都将不胜感激,谢谢。