Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 70ce245

Browse files
committed
Fix travis
1 parent 46f2675 commit 70ce245

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before_install:
1010
- sudo apt-get update -qq
1111
- sudo apt-get install -qq build-essential swig
1212
install:
13-
- python setup.py sdist install
13+
- python setup.py install
1414
script:
1515
- cd pocketsphinx/swig/python/test
1616
- python ./config_test.py

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@
8888
sb_include_dirs.extend(['include'])
8989
extra_compile_args.extend([
9090
'-Wno-unused-label',
91-
'-Wno-maybe-uninitialized',
91+
'-Wno-strict-prototypes',
9292
'-Wno-parentheses',
9393
'-Wno-unused-but-set-variable',
94-
'-Wno-unused-variable'
94+
'-Wno-unused-variable',
95+
'-Wno-unused-result'
9596
])
9697
elif sys.platform.startswith('win'):
9798
libsphinxad.extend([

0 commit comments

Comments
 (0)