Skip to content

Commit df1d2b5

Browse files
Test on Travis CI
1 parent 972ba29 commit df1d2b5

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.travis.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: python
2+
3+
python:
4+
- 3.5
5+
- 3.6
6+
7+
install:
8+
- pip install .
9+
10+
script:
11+
- |
12+
cat <<EOF >codeplug.cfg
13+
[codeplug]
14+
key = $(head -c32 /dev/urandom | base64 -w0)
15+
iv = $(head -c16 /dev/urandom | base64 -w0)
16+
signing_key = $(openssl genrsa 1024 | sed 's/^/ /')
17+
EOF
18+
- echo '<LTD_CODEPLUG VERSION="10.05.06"/>' >test.xml
19+
- python codeplug.py build test.xml
20+
- python codeplug.py decode test.xml.ctb
21+
- diff -u test.xml test.xml.ctb.xml

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
codeplug
22
========
33

4+
.. image:: https://img.shields.io/travis/george-hopkins/codeplug/master.svg
5+
:target: https://travis-ci.org/george-hopkins/codeplug
6+
:alt: Build Status
47
.. image:: https://img.shields.io/pypi/v/codeplug.svg
58
:target: https://pypi.python.org/pypi/codeplug/
69
:alt: Latest Version

0 commit comments

Comments
 (0)