Skip to content

Commit 7a3049a

Browse files
committed
- Adds .travis.yml file
- Adds travis badge to README.
1 parent 310050e commit 7a3049a

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.rock

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#in fact the language is lua, but travis doesn't support it directly
2+
language: python
3+
before_script:
4+
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu artful universe" -y
5+
- sudo apt-get -qq update
6+
- sudo apt-get install -y luarocks
7+
8+
script:
9+
- luarocks pack xml2lua-*.rockspec
10+
#Required for "luarocks upload" command
11+
- luarocks install dkjson --local
12+
- luarocks upload xml2lua-*.rockspec --api-key=$LUA_ROCKS_API_KEY

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# xml2lua-1.0-0 [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
2+
# xml2lua-1.0-0 [![Build Status](https://travis-ci.org/manoelcampos/xml2lua.svg?branch=master)](https://travis-ci.org/manoelcampos/xml2lua) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
33

44
xml2lua is an XML parser written entirely in Lua which doesn't depend on any external C/C++ library.
55

xml2lua-1.0-0.rockspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package = "xml2lua"
22
version = "1.0-0"
33
source = {
4-
url = "https://github.com/manoelcampos/xml2lua"
4+
url = "git://github.com/manoelcampos/xml2lua",
5+
tag = "v1.0"
56
}
67
description = {
78
summary = "An XML Parser written entirely in Lua 5.",

0 commit comments

Comments
 (0)