-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
86 changed files
with
29,779 additions
and
66,437 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
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,56 @@ | ||
language: python | ||
|
||
matrix: | ||
include: | ||
|
||
# Here you can add or remove specific builds, and Python versions. You | ||
# should currently be able to use Python 2.6, 2.7, or 3.3 or later. The | ||
# NUMPY and SCIPY versions are set here as an example, but you can | ||
# add/remove environment variables, and use them below during the install. | ||
|
||
- python: 3.6 | ||
|
||
services: | ||
- mysql | ||
- postgresql | ||
|
||
addons: | ||
postgresql: "9.6" | ||
|
||
env: | ||
- CODECOV_TOKEN="50dd5c2e-4259-4cfa-97a7-b4429e0d179e" | ||
|
||
before_install: | ||
|
||
# Increase size of database drive | ||
- sudo mount -o remount,size=50% /var/ramfs | ||
|
||
# Set up the databases - install seqrepo and UTA | ||
|
||
- mysql -e 'CREATE DATABASE validator;' | ||
- df -h | ||
|
||
- mkdir "$HOME"/seqrepo | ||
- rsync -HavP dl.biocommons.org::seqrepo/2018-08-21/ "$HOME"/seqrepo/2018-08-21/ | ||
|
||
# Copy configuration file | ||
- cp configuration/travis.ini "$HOME"/.variantvalidator | ||
|
||
|
||
install: | ||
|
||
# Test dependencies | ||
- pip install -r requirements_dev.txt | ||
- pip install -e . | ||
|
||
# Set up validator database | ||
- mysql validator < configuration/empty_vv_db.sql | ||
# - update_vdb.py | ||
- df -h | ||
|
||
script: | ||
|
||
- pytest --cov-report=term --cov=VariantValidator/ # will run all tests in the package | ||
|
||
after_script: | ||
- codecov |
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,20 @@ | ||
FROM python:3.6 | ||
|
||
#RUN seqrepo -r ${SEQREPO_DATA_DIR} pull -i ${SEQREPO_DATA_RELEASE} | ||
#RUN touch ${SEQREPO_DATA_DIR}/testing.txt | ||
|
||
#RUN apt update && apt install -y git | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app | ||
|
||
RUN pip install -r requirements_dev.txt | ||
|
||
RUN pip install -e . | ||
|
||
COPY configuration/docker.ini /root/.variantvalidator | ||
|
||
CMD python3 bin/variant_validator.py | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
recursive-include configuration * | ||
include README.md | ||
recursive-include bin * |
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
Oops, something went wrong.