forked from zarr-developers/zarr-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 942 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
38
39
40
41
42
43
44
45
46
47
48
49
language: python
sudo: false
addons:
apt:
packages:
- libdb-dev
env:
global:
- ZARR_TEST_ABS=1
- ZARR_TEST_MONGO=1
- ZARR_TEST_REDIS=1
services:
- docker
- redis-server
- mongodb
matrix:
include:
- python: 3.6
env: BUILD_DOCS='true'
- python: 3.7
dist: xenial
sudo: true
- python: 3.8
dist: xenial
sudo: true
env: MYPY_CHECK='true'
before_install:
- docker pull arafato/azurite
- mkdir ~/blob_emulator
- docker run -e executable=blob -d -t -p 10000:10000 -v ~/blob_emulator:/opt/azurite/folder arafato/azurite
before_script:
- mongo mydb_test --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
install:
- pip install -U pip setuptools wheel tox-travis mypy codecov
script:
- tox
- if [[ $BUILD_DOCS == 'true' ]]; then tox -e docs; fi
- if [[ $MYPY_CHECK == 'true' ]]; then mypy zarr; fi
after_success:
- codecov