Skip to content

Commit

Permalink
Merge pull request #14 from OpenSMFS/ci_travis
Browse files Browse the repository at this point in the history
CI: fix Travis and installation updates
  • Loading branch information
tritemio committed Mar 6, 2018
2 parents 96d39bb + 99de3a2 commit 92a845f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ before_install:
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda config --add channels conda-forge

install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip scipy pandas matplotlib lmfit cython numba phconvert pytest nbconvert ipykernel ipywidgets
- pip install seaborn
- conda create -n conda_test_env --yes python=$TRAVIS_PYTHON_VERSION
- source activate conda_test_env
- conda install --yes scipy pandas matplotlib cython numba pytest nbconvert ipykernel ipywidgets seaborn
- conda config --append channels conda-forge
- conda install --yes lmfit phconvert
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install pathlib ; fi
- if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then pip install pybroom ; fi
- python setup.py build
Expand Down
4 changes: 1 addition & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ install:
- conda update -q conda
- conda info -a
- conda config --append channels conda-forge
- "conda create -q -n test-environment python=%PYTHON_VERSION% pip scipy pandas matplotlib lmfit cython numba nbconvert pytest phconvert ipykernel ipywidgets"
- "conda create -q -n test-environment python=%PYTHON_VERSION% pip scipy pandas matplotlib lmfit cython numba nbconvert pytest phconvert ipykernel ipywidgets seaborn"
- activate test-environment
- pip install seaborn
- python -m pip install --upgrade pip
- ps: 'if($env:PYTHON_VERSION -eq "2.7"){pip install pathlib}'
- ps: 'if($env:PYTHON_VERSION -ne "2.7"){pip install pybroom}'
- python --version
Expand Down

0 comments on commit 92a845f

Please sign in to comment.