forked from icsm-au/PynAdjust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 2.55 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
43
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 pyshp
- source activate test-environment
- pip install geodepy pytest pytest-cov coveralls
script:
- py.test --cov-report term-missing:skip-covered --cov=pynadjust pynadjust/tests/
deploy:
provider: pypi
# Deploy to test version of pypi - remove for official deployment
server: https://test.pypi.org/legacy/
on:
tags: true
user:
secure: "Qjl2LV1lIGwSPoKzOL9m2VEbXLZ5POt+Wf4aePhvsCV48/7+e19Ja4zO4d0tviyOlbLUulktQ9KEbKXw21avcKPv6G3+ZPng3dnUBHDbbt65TkFp7EvIKT/GkRGvoxRYuVyy4aCXU88L0bQleJVuKRY29/YVMOZeJiRI8BWlnYU27gthttR4UMs+v4oNt5fyBNdxexq64BBjADOpftYRcPVx7qE6NSXiuLRFvR/4iRpZFC7FpYjTPTX11Yf62hYgItpxckvGP/a6seEQT258JwI2s+YoU1N0dRKP3Y62s4EhAx8fHlZPbN4lQcpaY2aLckfu5Upa7OHJw2JzT4hE1X3P872FOnDpV6IEFA5OKXfHebjvX9y5qpOQZDl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