Skip to content

Commit 40d407d

Browse files
author
Stephanie Reeder
committed
Merge branch 'master' into Dev1_0
merge master to aqcuire tests in the develop branch
2 parents b1cc22b + b75b72a commit 40d407d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+47209
-252
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.py[cod]
22
*~
3+
.ipynb_checkpoints
34

45
# C extensions
56
*.so

.travis.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
language: python
2+
sudo: required
3+
# if the https://travis-ci.org/ODM2/ODM2PythonAPI/requests ever says: missing config
4+
# validate at: http://lint.travis-ci.org/
5+
python:
6+
# - "2.6"
7+
- "2.7"
8+
# - "3.2"
9+
# - "3.3"
10+
# - "3.4"
11+
# - "3.5"
12+
# - "3.5-dev" # 3.5 development branch
13+
# - "nightly" # currently points to 3.6-dev
14+
# command to install dependencies
15+
cache:
16+
directories:
17+
- $HOME/.cache/pip/wheels
18+
- $HOME/virtualenv/python2.7.9
19+
services:
20+
- mysql
21+
- postgresql
22+
addons:
23+
apt:
24+
packages:
25+
- cmake
26+
- unixodbc
27+
- unixodbc-dev
28+
- odbcinst1debian2
29+
- odbcinst
30+
- freetds-dev
31+
- freetds-bin
32+
- tdsodbc
33+
- libc6
34+
- e2fsprogs
35+
- mysql-client
36+
- libproj-dev
37+
- libgeos-dev
38+
- libspatialite-dev
39+
# mariadb: '10.1'
40+
before_script:
41+
- ./scripts/mysql_setup.sh
42+
- ./scripts/postgres_setup.sh
43+
- ./scripts/freetds.sh
44+
45+
before_install:
46+
# python -m pip makes the install go into the virtualenv
47+
- python -m pip install pandas
48+
- export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1;python -m pip install pymssql
49+
- python -m pip install mysql-python
50+
install: # now just our code
51+
- pip install git+https://github.com/ODM2/geoalchemy.git@odm2#egg=geoalchemy-0.7.3
52+
- pip install .
53+
- pip install -r requirements_tests.txt --allow-external pyodbc --allow-unverified pyodbc
54+
# pysqlite
55+
- pip install pysqlite
56+
- pip list
57+
58+
# don't forget to open up the azure mssql server to these addreses
59+
# https://docs.travis-ci.com/user/ip-addresses/
60+
61+
# command to run tests
62+
script:
63+
64+
- py.test
65+

0 commit comments

Comments
 (0)