summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-14 14:12:19 +0800
committerTitanSnow <[email protected]>2017-05-14 14:12:19 +0800
commitd0ab950d6c28147d56fc287e937bafe651596b9e (patch)
tree8f73ca9198757617d5b513dd9e60896b47f18e0f
parent27c9ad9f79c1ed166dd789b2ef76ccf47a2f8925 (diff)
sudo for macOS to cp xmake
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 38017eae1..4440de76c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,7 +26,7 @@ script:
- echo 'require("luacov")' > tmp
- cat xmake/core/_xmake_main.lua >> tmp
- mv tmp xmake/core/_xmake_main.lua
- - cp core/build/xmake $(which xmake)
+ - cp core/build/xmake $(which xmake) || sudo cp core/build/xmake $(which xmake)
- tests/tests
after_success: