forked from dask/dask-image
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (33 loc) · 751 Bytes
/
Copy path.travis.yml
File metadata and controls
43 lines (33 loc) · 751 Bytes
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
sudo: false
language: generic
os: osx
osx_image: xcode6.4
branches:
only:
- master
env:
- PYVER="37"
- PYVER="36"
- PYVER="35"
- PYVER="27"
install:
# Install and Configure Miniconda.
- source .travis_support/install_miniconda.sh
# Create the test environment.
- export CONDA_ENV_TYPE="tst_py${PYVER}"
- source .travis_support/create_env.sh
# Install the package and dependencies.
- pip install -e .
# Run tests and measure test coverage.
script:
- coverage erase
- coverage run --source . setup.py test
- coverage report -m
# Report coverage.
after_success:
- export CONDA_ENV_TYPE="dpl"
- source .travis_support/create_env.sh
- coveralls
# Disable email notifications.
notifications:
email: false