-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
38 lines (31 loc) · 888 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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:
#on_failure: always #default always