File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,19 +37,17 @@ before_script:
3737
3838
3939before_install :
40- - wget http://bit.ly/miniconda -O miniconda.sh
41- - bash miniconda.sh -b -p $HOME/miniconda
42- - export PATH="$HOME/miniconda/bin:$PATH"
43- - conda update --yes --all
44- - conda config --add channels odm2 --force
45- - conda create --yes -n TEST python=$TRAVIS_PYTHON_VERSION --file requirements.txt --file requirements-dev.txt
46- - source activate TEST
47-
48- install :
49- - sudo pip install -e git+https://github.com/ODM2/geoalchemy.git@v0.7.4#egg=geoalchemy-0.7.4
50- - python -m pip install .
51- - python -m pip install -r requirements_tests.txt --allow-external pyodbc --allow-unverified pyodbc
52- - pip list
40+ - wget http://bit.ly/miniconda -O miniconda.sh
41+ - bash miniconda.sh -b -p $HOME/miniconda
42+ - export PATH="$HOME/miniconda/bin:$PATH"
43+ - conda update --yes --all
44+ - conda config --add channels odm2 --force
45+ - conda create --yes -n TEST python=$TRAVIS_PYTHON_VERSION --file requirements.txt --file requirements-dev.txt
46+ - source activate TEST
47+
48+ # Test source distribution.
49+ +install :
50+ - python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install odm2api-${version}.tar.gz && popd
5351
5452script :
5553 - py.test
You can’t perform that action at this time.
0 commit comments