Skip to content

Travis wapiti #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 28, 2018
Merged

Travis wapiti #67

merged 5 commits into from
Aug 28, 2018

Conversation

whalebot-helmsman
Copy link
Contributor

@whalebot-helmsman whalebot-helmsman commented Aug 27, 2018

add commands to install wapiti binary on travis and run test for binary checking

@@ -124,6 +124,10 @@ def merge_top_n(chains):


class WapitiCRF(BaseSequenceClassifier):
"""
>>> run_command(['which', WapitiCRF.WAPITI_CMD], verbose=False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be moved to regular tests - WapitiCRF is a public class, its docstring should show its description and usage examples.

@@ -29,6 +29,8 @@ addons:

install:
- pip install -U pip tox codecov
- git clone https://github.com/Jekub/Wapiti /tmp/wapiti
- pushd /tmp/wapiti && make && sudo make install && popd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
heh, I wonder why does it work - we're using sudo: false on top of travis.yml

@codecov
Copy link

codecov bot commented Aug 28, 2018

Codecov Report

Merging #67 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   81.02%   81.05%   +0.03%     
==========================================
  Files          40       41       +1     
  Lines        2092     2096       +4     
==========================================
+ Hits         1695     1699       +4     
  Misses        397      397

@kmike
Copy link
Member

kmike commented Aug 28, 2018

Thanks @whalebot-helmsman!

@kmike kmike merged commit 9e46156 into scrapinghub:master Aug 28, 2018
@Kebniss
Copy link
Contributor

Kebniss commented Aug 28, 2018

Thank you for this @whalebot-helmsman!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants