Modify .travis.yml
Test on different Python versions, also run pep8 and pyflakes.
This commit is contained in:
parent
3d8a8b50bd
commit
d3d2515c56
35
.travis.yml
35
.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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user