forked from zarr-developers/numcodecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 809 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
branches:
only:
- master
sudo: false
addons:
apt:
packages:
- liblzma-dev
matrix:
include:
- os: linux
language: python
python: 2.7
- os: linux
language: python
python: 3.5
- os: linux
language: python
python: 3.6
- os: linux
language: python
python: 3.7
dist: xenial
- os: linux
language: python
python: 3.8
dist: xenial
sudo: true
- os: osx
language: generic
install:
- pip install -U tox-travis coveralls pip setuptools wheel pytest
- pip install -v -e .
script:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then tox; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then pytest -v --pyargs numcodecs; fi
after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then coveralls; fi