File tree 3 files changed +55
-0
lines changed 3 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+ sudo : false
3
+
4
+ env :
5
+ global :
6
+ CONDA_DEPENDENCIES="numpy pandas test"
7
+ matrix :
8
+ - PYTHON_VERSION="2.7"
9
+ - PYTHON_VERSION="3.5"
10
+ - PYTHON_VERSION="3.6"
11
+
12
+ install :
13
+ - git clone --depth 1 git://github.com/astropy/ci-helpers.git
14
+ - source ci-helpers/travis/setup_conda.sh && rm -rf ci-helpers/
15
+ - |
16
+ source activate test
17
+ pip install .
18
+
19
+ script :
20
+ - |
21
+ source activate test
22
+ py.test -sv .
23
+
24
+ cache :
25
+ directories :
26
+ $HOME/download # Sufficient to add miniconda.sh to TRAVIS cache.
Original file line number Diff line number Diff line change 1
1
pgeocode
2
2
========
3
3
4
+ .. image :: https://travis-ci.org/symerio/pgeocode.svg?branch=master
5
+ :target: https://travis-ci.org/symerio/pgeocode
6
+
4
7
Postal code geocoding and distance calculations
5
8
6
9
pgeocode is a Python library for high performance off-line querying of GPS coordinates, region name and municipality name
Original file line number Diff line number Diff line change
1
+ build : false
2
+
3
+ environment :
4
+ global :
5
+ REQUIREMENTS : " numpy pandas pytest flake8"
6
+
7
+ matrix :
8
+ - PYTHON_VERSION : 3.6
9
+ MINICONDA : C:\Miniconda3-x64
10
+
11
+
12
+ init :
13
+ - " ECHO %PYTHON_VERSION% %MINICONDA%"
14
+
15
+ install :
16
+ - " set PATH=%MINICONDA%;%MINICONDA%\\ Scripts;%PATH%"
17
+ - conda config --set always_yes yes --set changeps1 no
18
+ - conda update -q conda
19
+ - conda create -n test-env %REQUIREMENTS% python=%PYTHON_VERSION%
20
+ - activate test-env
21
+ - pip install -e .
22
+
23
+ test_script :
24
+ - activate spotlight-env
25
+ - pytest -sv
26
+
You can’t perform that action at this time.
0 commit comments