forked from love2d-community/love-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (25 loc) · 802 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
## https://github.com/mpeterv/hererocks
language: python # Need python environment for pip
sudo: false # Use container-based infrastructure
env:
- LUA="lua 5.1"
- LUA="lua 5.2"
- LUA="lua 5.3"
- LUA="luajit 2.0"
- LUA="luajit 2.1"
before_install:
- pip install hererocks
- hererocks here -r^ --$LUA # Install latest LuaRocks version
# plus the Lua version for this build job
# into 'here' subdirectory
- export PATH=$PATH:$PWD/here/bin # Add directory with all installed binaries to PATH
install:
- luarocks install busted # Install https://github.com/Olivine-Labs/busted
script:
- busted specs # Run the specs
after_success:
- .travis/push.sh
notifications:
email:
on_success: change
on_failure: always