Skip to content

Commit

Permalink
Switch over to travis for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Alloyed committed Sep 13, 2018
1 parent f198346 commit c52d842
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 29 deletions.
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: python
sudo: false

env:
- LUA="--lua=5.3" LUAROCKS=""
- LUA="--lua=5.1" LUAROCKS=""
- LUA="--lua=5.1" LUAROCKS=""
- LUA="--lua=5.2" LUAROCKS=""
- LUA="--lua=5.3" LUAROCKS=""
- LUA="--lua=5.3" 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
- 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 .
- busted --verbose --coverage

after_success:
- "luacov-coveralls --include 'loverocks'"

branches:
except:
- gh-pages

notifications:
email:
on_success: change
on_failure: always
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
LOVEROCKS
=========
[![Circle CI](https://circleci.com/gh/Alloyed/loverocks.svg?style=svg&circle-token=badf14e71fb7fbecee7120a1fda86fa642be9dd2)](https://circleci.com/gh/Alloyed/loverocks)

LÖVERocks is a CLI wrapper around [Luarocks][L] that teaches your [LÖVE][O]
projects how to download and use standard Luarocks packages.
Expand All @@ -11,10 +10,11 @@ projects how to download and use standard Luarocks packages.
Installing
----------

To install LÖVERocks you'll first need a copy of Luarocks to host it.
Luarocks should itself use either Lua 5.1 or Luajit (because that's what
LÖVE itself uses) and it should be relatively up-to-date, which as of
writing means either Luarocks 2.3.0 or 2.4.0.
To install LÖVERocks you'll first need a copy of Luarocks to host it. Luarocks
should itself use either Lua 5.1 or Luajit (because that's what LÖVE itself
uses) and it should be relatively up-to-date, which as of writing means either
Luarocks 2.3.0 or 2.4.0. Note that luarocks 3 is not yet supported but is being
actively worked on.

If you're on Windows, [the official package][W] works. Notably, Lua For
Windows does _not_ work: its Luarocks version is too old.
Expand Down
24 changes: 0 additions & 24 deletions circle.yml

This file was deleted.

0 comments on commit c52d842

Please sign in to comment.