forked from pauldmccarthy/indexed_gzip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
98 lines (84 loc) · 8.32 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
branches:
only:
- master
sudo: required
language: python
python:
- "2.7"
- "3.5"
services:
- docker
env:
- TEST_SUITE=zran_test NITERS=5000 NELEMS=50000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=50000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=50000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=50000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=50000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=50000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=50000
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=50000
- TEST_SUITE=zran_test NITERS=5000 NELEMS=131072 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=131072 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=131072 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=131072 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=131072 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=131072 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=131072
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=131072
- TEST_SUITE=zran_test NITERS=5000 NELEMS=1000000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=1000000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=1000000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=1000000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=1000000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=1000000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=1000000
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=1000000
- TEST_SUITE=zran_test NITERS=5000 NELEMS=1048576 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=1048576 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=1048576 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=1048576 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=1000 NELEMS=1048576 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=1000 NELEMS=1048576 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=1048576
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=1048576
# NELEMS=something arbitrary that is not divisible
# by any of the default buffer/spacing sizes
- TEST_SUITE=zran_test NITERS=5000 NELEMS=2000000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=2000000 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=500 NELEMS=2000000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=500 NELEMS=2000000 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=500 NELEMS=2000000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=500 NELEMS=2000000 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=2000000
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=2000000
# NELEMS=16777216 ~ 128MB
- TEST_SUITE=zran_test NITERS=5000 NELEMS=16777216 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=16777216 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test NITERS=500 NELEMS=16777216 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=500 NELEMS=16777216 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test NITERS=500 NELEMS=16777216 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--concat" NITERS=500 NELEMS=16777216 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test NITERS=5000 NELEMS=16777216
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--concat" NITERS=5000 NELEMS=16777216
# NELEMS=268435456 ~ 2GB
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=5000 NELEMS=268435456 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=5000 NELEMS=268435456 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=500 NELEMS=268435456 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=500 NELEMS=268435456 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=250 NELEMS=268435456 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=250 NELEMS=268435456 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--use_mmap" NITERS=5000 NELEMS=268435456
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--use_mmap --concat" NITERS=5000 NELEMS=268435456
# NELEMS=805306368 ~ 6GB (for testing 64 bit support)
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=1000 NELEMS=805306368 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=1000 NELEMS=805306368 TEST_PATTERN="not test_readbuf_spacing_sizes and not test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=50 NELEMS=805306368 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=50 NELEMS=805306368 TEST_PATTERN="test_readbuf_spacing_sizes"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap" NITERS=25 NELEMS=805306368 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=zran_test EXTRA_ARGS="--use_mmap --concat" NITERS=25 NELEMS=805306368 TEST_PATTERN="test_seek_then_read_block"
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--use_mmap" NITERS=1000 NELEMS=805306368
- TEST_SUITE=indexed_gzip_test EXTRA_ARGS="--use_mmap --concat" NITERS=1000 NELEMS=805306368
- TEST_SUITE=32bittest
install: "pip install cython numpy pytest"
script:
- .ci/run_tests.sh