summaryrefslogtreecommitdiff
path: root/lib/lua-repl/.travis.yml
blob: d6390739410b1a352a6165f3eb9748d0e2ec15b5 (plain)
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
language: generic
sudo: false

env:
  - LUA=5.1   LUAROCKS=2.3.0
  - LUA=5.1.5 LUAROCKS=2.3.0
  - LUA=5.2.0 LUAROCKS=2.3.0
  - LUA=5.2.4 LUAROCKS=2.3.0
  - LUA=5.3.0 LUAROCKS=2.3.0
  - LUA=5.3.3 LUAROCKS=2.3.0

cache:
  apt: true
  directories:
    - $HOME/luas/

addons:
  apt:
    packages:
      - luarocks

before_install:
  - luarocks --local install vert

install:
  - ~/.luarocks/bin/vert init --lua-version=$LUA --luarocks-version=$LUAROCKS $HOME/luas/$LUA
  - source $HOME/luas/$LUA/bin/activate
  - luarocks install lua-testmore

script:
  - make test