summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-25 09:53:28 +0800
committerTitanSnow <[email protected]>2017-05-25 10:14:30 +0800
commit6f37771660ca4ca340278b2b8e1703e2c1b607d3 (patch)
treed31600dbe699e9aed2e721884a1f64a90850d011
parentc55e08adb365c2b56f75200a361c76fa50434963 (diff)
fix lua version on macos
-rw-r--r--.travis.yml9
1 files changed, 2 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index b08001b32..091ce0618 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,14 +15,9 @@ matrix:
- gcc-5
- luarocks
-env:
- global:
- - LUAROCKS=2.2.2
- - LUA=lua5.1
-
install:
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd rust lua; fi
- - sudo luarocks install luacov
+ - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd rust lua51; fi
+ - sudo luarocks install luacov || sudo luarocks-5.1 install luacov
script:
- scripts/get.sh __local__