Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Yonaba/Moses.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Burgueño <ignaciob@inconcertcc.com>2015-08-27 18:39:56 +0300
committerIgnacio Burgueño <ignaciob@inconcertcc.com>2015-08-27 18:39:56 +0300
commit5eaf0a57b4435054a12d5f61f7c0228457fed3ff (patch)
tree1a723cc5a8a3f210c1b463231b16568423cf4dba /.travis.yml
parentffe523ddcf11c3ea0e93d805713ef0f19da55b0f (diff)
Updates Travis scripts and fixes 5.2 and 5.3 compatibility.
The scripts used to setup the environment on Travis were quite old and currently broken. Updated them from current versions at https://github.com/moteus/lua-travis-example Also, added a fix (regarding the use of `unpack`) since 5.2 and 5.3 are built with no compatibility flags.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml26
1 files changed, 14 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index a4ad591..1e5814b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,25 +1,27 @@
-language: erlang
+language: c
+
+sudo: false
env:
global:
- - PLATFORM=linux
- - LUAROCKS_VER=2.2.0beta1
+ - LUAROCKS=2.2.2
matrix:
- LUA=lua5.1
- LUA=lua5.2
- - LUA=luajit
-
-branches:
- only:
- - master
+ - 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 branc
before_install:
- - bash .travis/setup_lua.sh
- - sudo luarocks install telescope 0.6.0 --server=http://rocks.moonscript.org
- - sudo luarocks install luacov-coveralls --server=http://rocks.moonscript.org/dev
+ - source .travis/setenv_lua.sh
+ - pip install --user cpp-coveralls
+ - luarocks install Lua-cURL --server=https://luarocks.org/dev
+ - luarocks install luacov-coveralls --server=https://luarocks.org/dev
+ - luarocks install telescope 0.6.0 --server=http://rocks.moonscript.org
script: "tsc -f spec/*"
-
+
after_success:
- luacov-coveralls -c specs/.luacov