This repository has been archived by the owner on Jun 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
/
.travis.yml
47 lines (36 loc) · 1.57 KB
/
.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
sudo: required
language: python
python:
- "3.5"
- "3.6"
os:
- linux
#virtualenv:
# system_site_packages: true
branches:
only:
- master
- dev
before_install:
- pip install -r requirements-test.txt
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.1.1-amd64.deb
- sudo dpkg -i --force-confnew elasticsearch-7.1.1-amd64.deb
- sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch
- sudo chown -R elasticsearch:elasticsearch /usr/share/elasticsearch
- sudo service elasticsearch restart
- until curl --silent -XGET --fail http://localhost:9200; do printf '.'; sleep 1; done
install:
- pip install -r requirements.txt
#afterinstall:
# - python -m spacy download en
# - python -m spacy download en_core_web_md
services:
- elasticsearch
script:
- pytest --cov=codecov
after_success:
- codecov
notifications:
slack:
secure: Az9G4l3zoYYTDLkEUJj/t0wqacM/ApCrr9RWWfP0PEinwBy7WlRxFUGrg3dhJ8rnfHBWmfndgQUvFqX7V3A9++85eqvj3Ik2y0bs/xcgundJRGpiEKKu2dvrfXP3uuvPrQI014Tbm3ZvA0aCTA1zz/iJTT8TUtm1pEAXRlbWUAzyfvqrNaMlfw0xFZ4nbIYwF8Fv+Q9TZ8cbAcgSOz9naMsYv/YOHSpviFOw6kMSNHoASP7vUrsxpCBqucJVXTlDdBz2IePUbbizZ5aEvRxQMKMCDFUb+j4K9prRvDJykCgYIkbGRwv3TNNjoingbtK2uC2awELUHwI+zg6Muyzc/xY1ngl3RPY7y71grLukzYSrY9T5onYtgU+4g42ioCebjlTbR5XsCqOLZS75cTqDPiU2lBca0nszAkQd+XzTz6nPPabnXY3ye9YNrutwsG6KFPppCFbuND8WzqmRIKH5yL7yviCW1jJrQIfk+ln3F6MyuFPt7Iqbse3U6tOsEr9usiGzrhbaRalc+QpJWZvF15DUgafbpVxAP31157Wxrz2bHPSJKbfPs4dGhY0VVd/IiCyhEe2IWWwQg04yLcLItZh80sthMkKu9WgLrPLlZ//0Zo5AgNduO50tyKKv+/Hk56bvcXSRFUK7jNxEnH4rKTGTBhjhJZ95N5uMlwOZDwE=
email: false