mirror of https://github.com/buggins/dlangui.git
Merge pull request #488 from denizzzka/console_CI_
Adds console build to Travis CI
This commit is contained in:
commit
80a2cd9eca
|
@ -17,9 +17,11 @@ env:
|
|||
- ARCH=x86_64 CONFIG=default
|
||||
- ARCH=x86_64 CONFIG=minimal
|
||||
- ARCH=x86_64 CONFIG=x11
|
||||
- ARCH=x86_64 CONFIG=console
|
||||
- ARCH=x86 CONFIG=default
|
||||
- ARCH=x86 CONFIG=minimal
|
||||
- ARCH=x86 CONFIG=x11
|
||||
- ARCH=x86 CONFIG=console
|
||||
|
||||
# No-one cares about OS X x86 and X11 on OSX
|
||||
matrix:
|
||||
|
|
|
@ -504,12 +504,16 @@ extern(C) int DLANGUImain(string[] args) {
|
|||
|
||||
Log.i("Entering UIAppMain: ", args);
|
||||
int result = -1;
|
||||
try {
|
||||
result = UIAppMain(args);
|
||||
Log.i("UIAppMain returned ", result);
|
||||
} catch (Exception e) {
|
||||
Log.e("Abnormal UIAppMain termination");
|
||||
Log.e("UIAppMain exception: ", e);
|
||||
version (unittest) {
|
||||
result = 0;
|
||||
} else {
|
||||
try {
|
||||
result = UIAppMain(args);
|
||||
Log.i("UIAppMain returned ", result);
|
||||
} catch (Exception e) {
|
||||
Log.e("Abnormal UIAppMain termination");
|
||||
Log.e("UIAppMain exception: ", e);
|
||||
}
|
||||
}
|
||||
|
||||
Platform.setInstance(null);
|
||||
|
|
Loading…
Reference in New Issue