Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Travis, Coveralls, and prettify README
* Add .travis.yml file * Put Travis badge on README * Enable coveralls * Put coveralls badge on README * Prettify README
- Loading branch information
Showing
3 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: python | ||
before_install: | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
- bash ~/miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- conda create -y -n pytorch-crf python=3.6 | ||
- source activate pytorch-crf | ||
- conda install -y -c pytorch pytorch=0.3.0 | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install . | ||
script: pytest --cov | ||
after_success: coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters