Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bambocher committed Nov 2, 2015
1 parent 2e6a5d3 commit 66565c5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
.idea
venv
build
dist
MANIFEST
Expand Down
19 changes: 19 additions & 0 deletions .travis.yml
@@ -0,0 +1,19 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
install:
- python setup.py sdist install
script:
- cd pocketsphinx/swig/python/test
- python ./config_test.py
- python ./decoder_test.py
- python ./fsg_test.py
- python ./jsgf_test.py
- python ./kws_test.py
- python ./lattice_test.py
- python ./lm_test.py
21 changes: 15 additions & 6 deletions pypi.sh
@@ -1,8 +1,17 @@
#!/usr/bin/env bash

python2.7 setup.py bdist_egg upload
python3.4 setup.py bdist_egg upload
python2.7 setup.py bdist_wheel upload
python3.4 setup.py bdist_wheel upload
python2.7 setup.py sdist --formats=gztar upload
python2.7 setup.py sdist --formats=zip upload
virtualenv -p /usr/bin/python2.7 venv
source venv/bin/activate
python setup.py bdist_egg upload
python setup.py bdist_wheel upload
python setup.py sdist --formats=gztar upload
python setup.py sdist --formats=zip upload
deactivate

virtualenv -p /usr/bin/python3.5 venv
source venv/bin/activate
python setup.py bdist_egg upload
python setup.py bdist_wheel upload
python setup.py sdist --formats=gztar upload
python setup.py sdist --formats=zip upload
deactivate
2 changes: 2 additions & 0 deletions readme.md
@@ -1,6 +1,8 @@
pocketsphinx-python
===================

[![Build Status](https://travis-ci.org/bambocher/pocketsphinx-python.svg?branch=master)](https://travis-ci.org/bambocher/pocketsphinx-python)

Python interface to CMU SphinxBase and PocketSphinx libraries created with SWIG.
Pocketsphinx packages include python support, however, it is based on Automake and
not well supported on Windows.
Expand Down

0 comments on commit 66565c5

Please sign in to comment.