File: .travis.yml

package info (click to toggle)
indexed-gzip 0.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 412 kB
  • sloc: ansic: 1,495; python: 601; makefile: 28
file content (65 lines) | stat: -rw-r--r-- 5,385 bytes parent folder | download
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
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

# 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=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 coverage pytest-cov"

script:
  - .ci/run_tests.sh