1language: c 2 3sudo: false 4 5env: 6 global: 7 - LUAROCKS=2.4.3 8 matrix: 9 - LUA=lua5.1 10 - LUA=lua5.2 11 - LUA=lua5.3 12 - LUA=luajit # latest stable version (2.0.4) 13 - LUA=luajit2.0 # current head of 2.0 branch 14 - LUA=luajit2.1 # current head of 2.1 branch 15 16branches: 17 only: 18 - bugfix 19 - master 20 21before_install: 22 - source .travis/setenv_lua.sh 23 - lua -v 24 - luarocks install luacov 25 26script: 27 - cd test 28 - git clone https://github.com/sstephenson/bats.git 29 - ./bats/bin/bats runner.bash 30 31after_success: 32 - luacov 33 - cp -v luacov.report.out ../ 34 - cd .. 35 - bash <(curl -s https://codecov.io/bash) 36 37notifications: 38 email: 39 on_success: change 40 on_failure: always 41