-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (41 loc) · 1.25 KB
/
.travis.yml
File metadata and controls
45 lines (41 loc) · 1.25 KB
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
os: linux
dist: focal
services:
- docker
jobs:
include:
- stage: 'Tests'
language: python
python: 3.8
before_install:
- sudo docker network create elastic8
- >
sudo docker run -d --name elasticsearch8 --net elastic8 -p 9201:9200
-e "xpack.security.enabled=false"
-e "discovery.type=single-node"
-e "cluster.name=docker-es8"
docker.elastic.co/elasticsearch/elasticsearch:8.19.3
- sudo docker network create elastic6
- >
sudo docker run -d --name elasticsearch6 --net elastic6 -p 9200:9200
-e "xpack.security.enabled=false"
-e "discovery.type=single-node"
-e "cluster.name=docker-es6"
docker.elastic.co/elasticsearch/elasticsearch:6.7.1
- sleep 60
- curl http://localhost:9200
- curl http://localhost:9201
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- nvm install
- nvm use
- npm install
#- npm i vega@5.25.0
script:
- flake8 .
- black --check .
- pytest
- coverage xml -o coverage.xml
after_success:
- codecov -t 8467f17f-e0d1-429d-93f6-8336ccab8248