diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2017-09-18 19:07:46 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2017-09-20 20:36:25 +0200 |
commit | 67184dd83a2f9bdd64d237bf39210bcca7d5bb72 (patch) | |
tree | dc318c0a7cb3e31c958ff65a42a810234ee65913 /.travis.yml | |
parent | 9ee17b7134b88c01e7efe33a982c4b5b8234b86a (diff) | |
download | valua-67184dd83a2f9bdd64d237bf39210bcca7d5bb72.tar.gz valua-67184dd83a2f9bdd64d237bf39210bcca7d5bb72.tar.bz2 valua-67184dd83a2f9bdd64d237bf39210bcca7d5bb72.zip |
refactor travis with hererocks
see <https://github.com/mpeterv/hererocks>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml index 27fe9c5..ffdef71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,28 @@ -language: c - +language: python sudo: false env: - global: - - LUAROCKS=2.2.1 - matrix: - - LUA=lua5.1 - - LUA=lua5.2 - - LUA=lua5.3 - - LUA=luajit # latest stable version (2.0.3) - - LUA=luajit2.0 # current head of 2.0 branch - #- LUA=luajit2.1 # current head of 2.1 branch + - LUA="lua 5.1" COMPAT=default + - LUA="lua 5.2" COMPAT=default + - LUA="lua 5.2" COMPAT=none + - LUA="lua 5.3" COMPAT=default + - LUA="lua 5.3" COMPAT=none + - LUA="luajit 2.0" COMPAT=none + - LUA="luajit 2.0" COMPAT=all + - LUA="luajit 2.1" COMPAT=none + - LUA="luajit 2.1" COMPAT=all before_install: - - source .travis/setenv_lua.sh + - pip install hererocks + - hererocks HERE --$LUA --compat $COMPAT --no-readline --luarocks latest --verbose + - hererocks HERE --show + - source HERE/bin/activate + +install: + - luarocks install luacheck script: + # - luacheck --codes --std=max *.lua - lua valua-test.lua after_success: |