mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
Add Travis-CI testing with busted
Run tests setup in spec folder. Need to signup on travis-ci.
This commit is contained in:
parent
22d0fb6960
commit
65c40efdc8
38
.travis.yml
Normal file
38
.travis.yml
Normal file
@ -0,0 +1,38 @@
|
||||
dist: precise
|
||||
sudo: false # Use container-based infrastructure
|
||||
language: python
|
||||
|
||||
git:
|
||||
depth: 4
|
||||
|
||||
#Testing with lastest stable version of LUAJIT
|
||||
env:
|
||||
- LUA_RUNTIME="luajit"
|
||||
LUA_VERSION="2.0.5"
|
||||
#- LUA_RUNTIME="luajit"
|
||||
# LUA_VERSION="2.1"
|
||||
|
||||
before_install:
|
||||
- pip install hererocks
|
||||
- hererocks lua_installations/$LUA_RUNTIME$LUA_VERSION/ --luarocks ^ --$LUA_RUNTIME $LUA_VERSION
|
||||
- export PATH=$PATH:$PWD/lua_installations/$LUA_RUNTIME$LUA_VERSION/bin
|
||||
|
||||
before_script:
|
||||
- luarocks install busted
|
||||
- busted --version
|
||||
|
||||
script:
|
||||
- busted --output=TAP #default utfTerminal
|
||||
|
||||
#Checks if Luajit and luarocks are already installed
|
||||
#Comment out to reinstall or if changing versions
|
||||
cache:
|
||||
directories:
|
||||
- $PWD/lua_installations
|
||||
|
||||
# Can add email notification here
|
||||
#notifications:
|
||||
#email:
|
||||
#recipients:
|
||||
#- email@here.com
|
||||
#on_failure: always #default always
|
Loading…
Reference in New Issue
Block a user