forked from chaoss/grimoirelab-elk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 885 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
language: python
python:
- "3.4"
sudo: false
services:
- elasticsearch
- mysql
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.0.deb && sudo dpkg -i --force-confnew elasticsearch-6.1.0.deb && sudo service elasticsearch restart
- pip install flake8
- pip install coveralls
- pip install pandas==0.18.1
- pip install redis
- pip install PyMySQL
- pip install httpretty==0.8.6
- pip install elasticsearch==6.3.1
- pip install elasticsearch-dsl==6.3.0
- pip install -r "requirements.txt"
#install:
# - ./setup.py install
before_script:
- sleep 20
script:
- flake8 .
- mysqladmin -u root create test_sh
- mysqladmin -u root create test_projects
- mysql -u root test_projects < tests/test_projects.sql
- cd tests
- coverage run --source=grimoire_elk run_tests.py
after_success:
- coveralls