summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-17 09:41:12 +0800
committerruki <[email protected]>2017-05-17 09:41:12 +0800
commitbeb2fe1f4981307bf75a1552acd744771ad750d8 (patch)
tree5718759ec13eec587607bbab7ce6cff9a3aec405
parent72e5f4a1cdc7967d21ac4407f85e7032b01295c9 (diff)
fix travis coverage on linux
-rw-r--r--.travis.yml3
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_program.lua2
2 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 514fcecc3..09cad854c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,5 +42,4 @@ script:
after_success:
- luacov
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then bash <(curl -s https://codecov.io/bash); fi
- - if [ "$TRAVIS_OS_NAME" = "linux" ]; then bash <(curl -s https://codecov.io/bash) -xgcov-5; fi
+ - bash <(curl -s https://codecov.io/bash)
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
index 3e9a378e2..41c185198 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
@@ -92,7 +92,7 @@ end
--
function sandbox_lib_detect_find_program.main(name, dirs, check)
- -- TODO get version info
+ -- TODO get version info, which name
-- get detect cache
local detectcache = cache(utils.ifelse(os.isfile(project.file()), "local.detect", "memory.detect"))