forked from erikbern/ann-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 960 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
sudo: required
language: python
python:
- "3.6"
services:
- docker
env:
- LIBRARY=annoy
- LIBRARY=dolphinn
- LIBRARY=faiss
- LIBRARY=flann
- LIBRARY=hdidx
- LIBRARY=kgraph
- LIBRARY=mrpt
- LIBRARY=nearpy
- LIBRARY=ngt
- LIBRARY=nmslib
- LIBRARY=hnswlib
- LIBRARY=panns
- LIBRARY=pynndescent
- LIBRARY=rpforest
- LIBRARY=sklearn
before_install:
- pip install -r requirements.txt
- python install.py
script:
- python run.py --docker-tag ann-benchmarks-${LIBRARY} --max-n-algorithms 5 --dataset random-xs-20-angular --run-disabled
- python run.py --docker-tag ann-benchmarks-${LIBRARY} --max-n-algorithms 5 --dataset random-xs-20-angular --run-disabled --batch
- python plot.py --dataset random-xs-20-angular --output plot.png
- python plot.py --dataset random-xs-20-angular --output plot-batch.png --batch
- python -m unittest test/test-metrics.py
- python create_website.py --outputdir . --scatter --latex