-
Notifications
You must be signed in to change notification settings - Fork 52
/
.travis.yml
38 lines (31 loc) · 921 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Link repository with Travis CI
# https://travis-ci.org/
# Master branch only
branches:
only:
- master
# Start the databases
# See https://docs.travis-ci.com/user/database-setup/
# addons:
# postgresql: "9.4"
# services:
# - postgresql
# - mysql
# Set the language
# language: python
# python:
# - "2.7"
before_script:
# - psql -c 'create database mimic_test;' -U postgres
# - psql -c 'create schema mimiciii;' -d mimic_test -U postgres
# - psql target-db -U <admin user> -p <port> -h <DB instance name> -c "\copy source-table from 'source-table.csv' with DELIMITER ','"
# - psql -f './buildmimic/postgres/postgres_create_tables.sql' -U postgres
# command to install dependencies
# install:
# - pip install psycopg2 --quiet
# - pip install pandas --quiet
# - pip install MySQL-python --quiet
# - pip install .
# - pip install -r requirements.txt
# command to run tests
script: nosetests