-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (33 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
41 lines (33 loc) · 744 Bytes
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
language: python
sudo: false
env:
matrix:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="luajit @"
- LUA="luajit 2.0"
- LUA="luajit 2.1"
branches:
only:
- master
before_install:
- pip install hererocks
- hererocks ~/hererocks -r^ --$LUA
- export PATH=$PATH:~/hererocks/bin
- eval `luarocks path --bin`
- luarocks install luacheck
- luarocks install busted
install:
- luarocks install --only-deps --server=http://luarocks.org/manifests/daurnimator spawn-scm-0.rockspec
script:
- luacheck .
- luarocks make CFLAGS="-O2 -fPIC -Wall -Wextra -Werror"
- busted
notifications:
email:
on_success: change
on_failure: always
cache:
directories:
- $HOME/.cache/hererocks