-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
38 lines (30 loc) · 839 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
language: python
sudo: false
env:
- LUA="--lua=5.1" LUAROCKS=""
- LUA="--luajit=2.1" LUAROCKS=""
- LUA="--lua=5.1" LUAROCKS="--luarocks=3"
cache:
directories:
- lua_install
before_install:
- pip install hererocks
- hererocks lua_install -r^ $LUA $LUAROCKS
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
install:
- wget http://alloyed.me/loverocks/loverocks-test-repo.zip
- unzip loverocks-test-repo.zip
- luarocks install --only-deps spec/test-scm-0.rockspec
- luarocks install --only-deps loverocks-scm-0.rockspec
script:
- luacheck -ur loverocks
- busted --verbose --coverage
after_success:
- "luacov-coveralls --include 'loverocks'"
branches:
except:
- gh-pages
notifications:
email:
on_success: change
on_failure: always