forked from coursera/dataduct
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (44 loc) · 1022 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
language: python
python:
- 2.7
sudo: false
addons:
apt_packages:
- graphviz
# command to install dependencies
install:
- pip install coveralls
- pip install -r requirements.txt
# Setup config file
before_script:
- mkdir ~/.dataduct
- |+
echo "
etl:
ROLE: DataPipelineDefaultRole
RESOURCE_ROLE: DataPipelineDefaultResourceRole
S3_ETL_BUCKET: FILL_ME_IN
ec2:
CORE_INSTANCE_TYPE: m1.large
emr:
CLUSTER_AMI: 2.4.7
redshift:
DATABASE_NAME: FILL_ME_IN
CLUSTER_ID: FILL_ME_IN
USERNAME: FILL_ME_IN
PASSWORD: FILL_ME_IN
postgres:
DATABASE_NAME: FILL_ME_IN
RDS_INSTANCE_ID: FILL_ME_IN
USERNAME: FILL_ME_IN
PASSWORD: FILL_ME_IN
REGION: FILL_ME_IN
mysql:
DATABASE_KEY:
HOST: FILL_ME_IN
USERNAME: FILL_ME_IN
PASSWORD: FILL_ME_IN" > ~/.dataduct/dataduct.cfg
# Run tests
script: nosetests --with-coverage --cover-package=. --cover-erase
after_success:
coveralls