mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
travis experiment #18, babysteps with conda
This commit is contained in:
parent
eb7e3b5063
commit
79d14f86db
1 changed files with 20 additions and 11 deletions
31
.travis.yml
31
.travis.yml
|
|
@ -14,18 +14,17 @@ cache: pip
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -y git mercurial
|
- sudo apt-get install -y git mercurial
|
||||||
|
|
||||||
# - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
|
||||||
# - bash miniconda.sh -b -p $HOME/miniconda
|
- bash miniconda.sh -b -p $HOME/miniconda
|
||||||
# - export PATH="$HOME/miniconda/bin:$PATH"
|
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||||
# - hash -r
|
- hash -r
|
||||||
|
- conda config --set always_yes yes --set changeps1 no
|
||||||
|
- conda update -q conda
|
||||||
|
# Useful for debugging any issues with conda
|
||||||
|
- conda info -a
|
||||||
|
|
||||||
# - conda config --set always_yes yes --set changeps1 no
|
# Setup envs
|
||||||
# - conda update -q conda
|
- conda create -q --name cpy27 python=2.7
|
||||||
# # Useful for debugging any issues with conda
|
|
||||||
# - conda info -a
|
|
||||||
|
|
||||||
# # Setup envs
|
|
||||||
# - conda create -q --name cpy27 python=2.7
|
|
||||||
# - conda create -q --name cpy34 python=3.4
|
# - conda create -q --name cpy34 python=3.4
|
||||||
# - conda create -q --name cpy35 python=3.5
|
# - conda create -q --name cpy35 python=3.5
|
||||||
# - conda create -q --name cpy36 python=3.6
|
# - conda create -q --name cpy36 python=3.6
|
||||||
|
|
@ -55,5 +54,15 @@ script:
|
||||||
|
|
||||||
- PYTHONPATH=src/:$PYTHONPATH python -m pytest --cov=pycalver test/
|
- PYTHONPATH=src/:$PYTHONPATH python -m pytest --cov=pycalver test/
|
||||||
- codecov
|
- codecov
|
||||||
|
|
||||||
|
- python -m pip install lib3to6
|
||||||
- python setup.py bdist_wheel --python-tag=py2.py3
|
- python setup.py bdist_wheel --python-tag=py2.py3
|
||||||
- ls -l dist/*
|
- ls -l dist/*
|
||||||
|
|
||||||
|
- conda activate cpy27
|
||||||
|
- python --version
|
||||||
|
- python -m pip install $(cat requirements-test.txt)
|
||||||
|
- python -m pip install $(ls -1t dist/*.whl | head -n 1)
|
||||||
|
- python -m pytest --cov=pycalver test/
|
||||||
|
- conda deactivate
|
||||||
|
- python --version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue