diff --git a/.travis.yml b/.travis.yml index 8076f01..e3a64b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,26 +1,33 @@ -language: c +language: python sudo: false cache: directories: cache -matrix: - include: - - compiler: ": Lua 5.1" - env: LUA="lua 5.1" - - compiler: ": Lua 5.2" - env: LUA="lua 5.2" - - compiler: ": Lua 5.3" - env: LUA="lua 5.3" - - compiler: ": LuaJIT 2.0" - env: LUA="luajit 2.0" - - compiler: ": LuaJIT 2.1" - env: LUA="luajit 2.1" +python: + - "2.6" + - "2.7" + - "3.0" + - "3.5" + +before_install: + - pip install pyflakes + - pip install pep8 + +before_script: + - pyflakes . + - pep8 . --max-line-length 99 --ignore E302 script: - - python hererocks.py here --$LUA -r^ --downloads cache --builds cache + - python hererocks.py here -l 5.3 -r^ --downloads cache --builds cache - export PATH=$PATH:$PWD/here/bin - lua -v - luarocks --version - luarocks make - hererocks-test + - rm here -r + - python hererocks.py here -j 2.1 -r^ --downloads cache --builds cache + - lua -v + - luarocks --version + - luarocks make + - hererocks-test