-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 995 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
language: python
python:
- "3.4"
install:
- "pip install -r requirements.txt --use-mirrors"
- "pip install coverage"
- "pip install coveralls"
script:
- "coverage run --source=etltest setup.py test"
- 'tox'
before_script:
- mysql -e 'source scripts/etlUnitTest_build.sql'
- mysql -e 'source scripts/etlUnitTest_refData.sql'
- wget http://sourceforge.net/projects/pentaho/files/Data%20Integration/5.0.1-stable/pdi-ce-5.0.1.A-stable.zip/download
- unzip download
- wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.31.zip
- unzip mysql-connector-java-5.1.31.zip
- cp mysql-connector-java-5.1.31/mysql-connector-java-5.1.31-bin.jar data-integration/lib/mysql-connector-java-5.1.31-bin.jar
- chmod +x /home/travis/build/OpenDataAlex/etlTest/etltest/etlTest.py
services: mysql
env: ETL_TEST_ROOT=/home/travis/build/OpenDataAlex/etlTest TOOL_PATH=/home/travis/build/OpenDataAlex/etlTest/data-integration
after_success:
coveralls