Skip to content

Commit

Permalink
CI: try pip with no conda
Browse files Browse the repository at this point in the history
  • Loading branch information
fkuehlein committed Jan 22, 2024
1 parent 7bb42d1 commit 3bb5ec1
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,25 @@ jobs:
- os: windows
language: shell
before_install:
- export MINICONDA_PATH=$HOME/miniconda
- export MINICONDA_PATH_WIN=`cygpath --windows $MINICONDA_PATH`
- export MINICONDA_SUB_PATH=$MINICONDA_PATH/Scripts
- export MINICONDA_LIB_BIN_PATH=$MINICONDA_PATH/Library/bin
- choco install openssl.light
- choco install miniconda3 --params="'/JustMe /AddToPath:1 /D:$MINICONDA_PATH_WIN'"
- export PATH="$MINICONDA_PATH:$MINICONDA_SUB_PATH:$MINICONDA_LIB_BIN_PATH:$PATH"
- echo "$PATH" | wc -c
- echo %WINDIR%
- source $MINICONDA_PATH/etc/profile.d/conda.sh
- hash -r
- python --version
- conda config --set quiet yes --set always_yes yes --set changeps1 no
- travis_retry conda update -n base -c defaults conda
- travis_retry conda update --all
# - export MINICONDA_PATH=$HOME/miniconda
# - export MINICONDA_PATH_WIN=`cygpath --windows $MINICONDA_PATH`
# - export MINICONDA_SUB_PATH=$MINICONDA_PATH/Scripts
# - export MINICONDA_LIB_BIN_PATH=$MINICONDA_PATH/Library/bin
# - choco install openssl.light
# - choco install miniconda3 --params="'/JustMe /AddToPath:1 /D:$MINICONDA_PATH_WIN'"
# - export PATH="$MINICONDA_PATH:$MINICONDA_SUB_PATH:$MINICONDA_LIB_BIN_PATH:$PATH"
# - source $MINICONDA_PATH/etc/profile.d/conda.sh
# - hash -r
# - python --version
# - conda config --set quiet yes --set always_yes yes --set changeps1 no
# - travis_retry conda update -n base -c defaults conda
# - travis_retry conda update --all

- choco install python --version 3.11
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- echo "trying pip install right away"

before_install:
# Python package manager
Expand Down Expand Up @@ -109,7 +113,6 @@ script:
- travis_retry pip install -v -e ".[testing,docs]"

# test suite
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then echo %WINDIR%; fi
- tox -v

after_success:
Expand Down

0 comments on commit 3bb5ec1

Please sign in to comment.