-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into no-peeking
- Loading branch information
Showing
2 changed files
with
11 additions
and
16 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 |
---|---|---|
@@ -1,27 +1,19 @@ | ||
sudo: false | ||
dist: trusty | ||
language: python | ||
|
||
cache: | ||
directories: | ||
- /home/travis/download | ||
- /home/travis/.cache/pip | ||
|
||
matrix: | ||
include: | ||
# This environment tests that the code works on Python 3.6 | ||
# and prints a coverage report at the end. | ||
- env: PYTHON_VERSION="3.6" COVERAGE="true" | ||
# This environment doesn't run tests, but does check for lint violations. | ||
# - env: PYTHON_VERSION="3.6" RUN_LINT="true" SKIP_TESTS="true" | ||
cache: pip | ||
|
||
notifications: | ||
email: false | ||
|
||
branches: | ||
only: | ||
only: | ||
- master | ||
|
||
install: source build_tools/travis/install.sh | ||
|
||
# Trying something new here... | ||
# install: source build_tools/travis/install.sh | ||
install: | ||
- pip install -r requirements.txt | ||
|
||
script: bash build_tools/travis/test_script.sh | ||
after_success: source build_tools/travis/after_success.sh |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
torch==1.1.0 | ||
git+git://github.com/rloganiv/allennlp.git@pytorch-grad-clip | ||
|
||
# Testing stuff | ||
pytest | ||
|
||
# Coverage reports | ||
pytest-cov | ||
codecov |