We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ddd317 + ad17fbf commit 9e46156Copy full SHA for 9e46156
.travis.yml
@@ -6,7 +6,7 @@ branches:
6
only:
7
- master
8
- /^\d\.\d+$/
9
-
+
10
matrix:
11
include:
12
- python: 2.7
@@ -29,6 +29,8 @@ addons:
29
30
install:
31
- pip install -U pip tox codecov
32
+ - git clone https://github.com/Jekub/Wapiti /tmp/wapiti
33
+ - pushd /tmp/wapiti && make && sudo make install && popd
34
35
script: tox
36
@@ -37,4 +39,4 @@ after_success:
37
39
38
40
cache:
41
directories:
- - $HOME/.cache/pip
42
+ - $HOME/.cache/pip
webstruct/tests/test_wapiti.py
@@ -0,0 +1,7 @@
1
+from webstruct.wapiti import WapitiCRF
2
+from webstruct.utils import run_command
3
4
+def test_is_wapiti_binary_present():
5
+ run_command(['which', WapitiCRF.WAPITI_CMD])
0 commit comments