forked from BRCAChallenge/brca-exchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
21 lines (20 loc) · 803 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
general:
build_dir: website
machine:
services:
- postgresql
node:
version: 4.4.4
database:
override:
- sudo -u postgres createdb storage.pg
test:
override:
- npm run lint -- -f junit -o $CIRCLE_TEST_REPORTS/lint-results.xml
- npm run test -- -R xunit --reporter-options output=$CIRCLE_TEST_REPORTS/test-results.xml
- pip install -r ../test-requirements.txt
- git clone https://github.com/counsyl/hgvs.git
- cd hgvs && git checkout aebe5bd9683f4b5937fd653ce4b13fcd4f3ebb10 && python setup.py install
- cd django/ && python manage.py migrate && python manage.py test
- cd ../pipeline/data && bash ./getdata
- cd .. && pytest --ignore=website/ --junitxml=${CIRCLE_TEST_REPORTS}/pytest-results.xml