- Home /
Question by
PJB3005 · Jun 24, 2016 at 05:00 AM ·
command-linebatchmodelinux editor
Linux editor attempting to connect to X even in batch mode with -nographics.
Hello.
I'm trying to set up automatic building of my project on Travis-CI.
The command which runs Unity (after installation) looks like this:
/opt/Unity/Editor/Unity -batchmode -nographics -quit -silent-crashes -logFile $(pwd)/unity.log -projectPath $(pwd) -buildWindowsPlayer "$(pwd)/Build/windows/test.exe"
However, when it tries to build, it fails. The log files indicate that for some reason it's trying to connect to X, which of course isn't installed on Travis-CI.
Here is the build log output: https://travis-ci.org/PJB3005/Space-Station-13d-Unity5/builds/139763690
Comment