fix Travis CI unittest

This commit is contained in:
Vadim Lopatin 2016-06-29 13:08:23 +03:00
parent bc7041530d
commit 0cdd6a9216
2 changed files with 19 additions and 18 deletions

View File

@ -68,7 +68,7 @@ extern (C) int UIAppMain(string[] args) {
//} //}
version(unittest) { version(unittest) {
return 0; return 0;
} } else {
// create window // create window
Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 900, 730); Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 900, 730);
@ -93,6 +93,7 @@ extern (C) int UIAppMain(string[] args) {
// run message loop // run message loop
return Platform.instance.enterMessageLoop(); return Platform.instance.enterMessageLoop();
}
} }
/* /*

View File

@ -46,7 +46,7 @@ import std.path;
immutable string HELP_PAGE_URL = "https://github.com/buggins/dlangide/wiki"; immutable string HELP_PAGE_URL = "https://github.com/buggins/dlangide/wiki";
// TODO: get version from GIT commit // TODO: get version from GIT commit
immutable dstring DLANGIDE_VERSION = "v0.6.15"d; immutable dstring DLANGIDE_VERSION = "v0.6.17"d;
bool isSupportedSourceTextFileFormat(string filename) { bool isSupportedSourceTextFileFormat(string filename) {
return (filename.endsWith(".d") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c") return (filename.endsWith(".d") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c")