-
Notifications
You must be signed in to change notification settings - Fork 65
/
.travis.yml
51 lines (44 loc) · 1.01 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
language: cpp
os: osx
sudo: false
addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
packages:
- cmake
- cmake-data
env:
global:
- LUAROCKS=2.4.1
matrix:
- LUA=5.1.5
- LUA=5.2.4
- LUA=5.3.5
- LUA=luajit-2.0.5
- LUA=luajit-2.1.0-beta3
branches:
only:
- master
before_install:
- git clone --depth 1 https://github.com/cehoffman/luaenv.git ~/.luaenv
- git clone --depth 1 https://github.com/cehoffman/lua-build.git ~/.luaenv/plugins/lua-build
- git clone --depth 1 https://github.com/xpol/luaenv-luarocks.git ~/.luaenv/plugins/luaenv-luarocks
- export PATH="$HOME/.luaenv/bin:$PATH"
- eval "$(luaenv init -)"
- luaenv install $LUA
- luaenv global $LUA
- luaenv luarocks $LUAROCKS
- luarocks install luafilesystem
- luarocks install luautf8
- luarocks install busted
- luaenv rehash
install:
- luarocks make
# Run tests
script:
- busted
notifications:
email:
on_success: change
on_failure: always