]> git.madduck.net Git - etc/awesome.git/blob - .travis.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

.travis: Move to hererocks based system
[etc/awesome.git] / .travis.yml
1 language: python
2
3 sudo: false
4
5 env:
6   matrix:
7     - LUA="lua 5.1" SOCKET=true
8     - LUA="lua 5.1"
9     - LUA="lua 5.2" SOCKET=true
10     - LUA="lua 5.2"
11     - LUA="lua 5.3" SOCKET=true
12     - LUA="lua 5.3"
13     - LUA="luajit 2.0"
14     - LUA="luajit 2.1" SOCKET=true SYSCALL=true
15     - LUA="luajit 2.1" SYSCALL=true
16     - LUA="luajit 2.1"
17     - LUA="luajit @"
18
19 before_install:
20   - pip install hererocks
21   - hererocks here -r^ --$LUA # Install latest LuaRocks version
22                               # plus the Lua version for this build job
23                               # into 'here' subdirectory
24   - export PATH=$PATH:$PWD/here/bin # Add directory with all installed binaries to PATH
25   - eval `luarocks path --bin`
26   - luarocks install luacov-coveralls
27   - luarocks install busted
28
29 install:
30   - luarocks make
31   - if [ "$SOCKET" = "true" ]; then luarocks install luasocket; fi
32   - if [ "$SYSCALL" = "true" ]; then luarocks install ljsyscall; fi
33
34 script:
35   - busted -c
36
37 after_success:
38   - luacov-coveralls -v
39
40 notifications:
41   email:
42     on_success: change
43     on_failure: always