forked from GeoscienceAustralia/GeodePy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 2.43 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
language: python
python:
- "3.6"
before_install:
- pip install pytest pytest-cov coveralls flask
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy
- source activate test-environment
- pip install pytest pytest-cov coveralls
script:
- py.test --cov-report term-missing:skip-covered --cov=geodepy geodepy/tests/
deploy:
provider: pypi
on:
tags: true
user:
secure: "f16HHHjWxAtepUnF5P3n8VD9idOwThNVTGrQq9X/QLredCFaoW0u1+nWrMUzbbrAziz+HwwawJpx3KneDgqSy1i9BqC37C+Tm5rWTNCDcADl3JTiOb/VQ58GDkO0JgKWry4tW2H+dNxofB6JcsDokxEpNwcn+H5YAxR25XR4NfiVKadn/si6KhBNZUnBz7xTutbKvPQKKzEPhNYPwWTmTxiLGUBJBzy+2HxQ+0iE1v7rRml3j6ukHWH9VJtOWxd5O1aaLPl+hvUI5Xr/rM4cs+2G9Ln3GOuF6V9AG3XCp8JKkXNVObneRl/bhLNjHSgB/sp+PJyFDNLSZy+Zg9Yir/L4VkLWt15r+1evCesoOpPJwhYf51YBWKMPwu4JyG/tvX3mRr75F/T5LHU0Uy/LsOThCeHhthubV5AZTjff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