Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Oct 22, 2020
1 parent db9b5ce commit 2e5face
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 36 deletions.
27 changes: 6 additions & 21 deletions .travis.yml
Expand Up @@ -2,27 +2,12 @@ dist: xenial
sudo: true
language: python
python:
- "3.7"
env:
- SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=disk
- "3.8"
install:
# We do this conditionally because it saves us some downloading if the
# version is the same.
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- 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 -q conda
- conda install conda-build
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy mkl
- source activate test-environment
# - make all
#- conda build build_tools/conda-recipe --quiet
- conda install -q --file=requirements_conda.txt
- pip install -r requirements.txt
- export PYTHONPATH=src
- pip install -r requirements.txt
- npm install
- pip install sphinx$sphinxconstraint
- pip install tkinterquickhelper --no-deps
- export PYTHONPATH=src
script:
- python setup.py unittests
2 changes: 0 additions & 2 deletions appveyor.yml
Expand Up @@ -17,8 +17,6 @@ init:

install:
- "%PYTHON%\\python -m pip install --upgrade pip"
- "%PYTHON%\\Scripts\\pip install pymyinstall"
- "%PYTHON%\\Scripts\\pymy_install3 --set=pyquickhelper"
- "%PYTHON%\\Scripts\\pip install -r requirements.txt"
- "%PYTHON%\\Scripts\\pymy_install3 --task=tool --source=zip graphviz"
- "set PATH=%PATH%;C:\\projects\\lecture_citation\\build\\update_modules\\Graphviz\\bin"
Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
@@ -1,11 +1,20 @@
coverage
ipython
jinja2
jupyter
jupyter_sphinx
jyquickhelper
matplotlib
nbformat
notebook
numpy
pandas
pillow
pycodestyle
pylint
pyquickhelper>=1.9
python-multipart
Sphinx
sphinxcontrib.imagesvg
sphinxcontrib.blockdiag
toml
Expand Down
13 changes: 0 additions & 13 deletions requirements_conda.txt

This file was deleted.

0 comments on commit 2e5face

Please sign in to comment.