Skip to content
Snippets Groups Projects
Commit 8304c1e0 authored by Jeremy M Fee's avatar Jeremy M Fee Committed by Claycomb, Abram Earl
Browse files

Switch back to conda, use pip to install flask dependencies

parent 73e00f30
No related branches found
No related tags found
No related merge requests found
...@@ -3,12 +3,24 @@ python: ...@@ -3,12 +3,24 @@ python:
- 2.7 - 2.7
- 3.5 - 3.5
- 3.6 - 3.6
- 3.7
before_install: before_install:
# used to build pycurl ## courtesy of http://conda.pydata.org/docs/travis.html
- sudo apt-get -y install libgnutls-dev - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.anaconda.com/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.anaconda.com/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 --yes conda
- conda info -a
install: install:
- pipenv install --dev --skip-lock - conda config --add channels conda-forge
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION obspy pycurl nose flake8 coverage webtest
- source activate test-environment
- pip install authlib flask flask-login flask-migrate flask-session flask-sqlalchemy psycopg2-binary
script: script:
- flake8 --config=.flake8 bin/ geomagio/ test/ - flake8 --config=.flake8 bin/ geomagio/ test/
- nosetests -v . - nosetests -v .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment