summaryrefslogtreecommitdiffstats
path: root/tests/config/tapered/.travis.yml
blob: 77135af3a386a1bb97259130eddab64e83d740a7 (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
32
33
34
35
36
37
38
39
40
language: c

sudo: false

env:
  global:
    - LUAROCKS=2.4.3
  matrix:
    - LUA=lua5.1
    - LUA=lua5.2
    - LUA=lua5.3
    - LUA=luajit     # latest stable version (2.0.4)
    - LUA=luajit2.0  # current head of 2.0 branch
    - LUA=luajit2.1  # current head of 2.1 branch

branches:
  only:
    - bugfix
    - master

before_install:
  - source .travis/setenv_lua.sh
  - lua -v
  - luarocks install luacov

script:
  - cd test
  - git clone https://github.com/sstephenson/bats.git
  - ./bats/bin/bats runner.bash

after_success:
  - luacov
  - cp -v luacov.report.out ../
  - cd ..
  - bash <(curl -s https://codecov.io/bash)

notifications:
  email:
    on_success: change
    on_failure: always