Skip to content

Commit

Permalink
CI: modify continuous integration for 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfaff committed Aug 27, 2018
1 parent 0ce86b2 commit bc35591
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
docker:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: circleci/python:3.6.1
- image: circleci/python:3.7.0

working_directory: ~/repo

Expand All @@ -21,14 +21,14 @@ jobs:
name: install Debian dependencies
command: |
sudo apt-get update
sudo apt-get install libatlas-dev libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libfreetype6-dev libpng-dev zlib1g-dev texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-generic-extra latexmk texlive-xetex
sudo apt-get install libatlas-dev libatlas-base-dev liblapack-dev gfortran libgmp-dev libmpfr-dev libfreetype6-dev libpng-dev zlib1g zlib1g-dev texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra texlive-generic-extra latexmk texlive-xetex
- run:
name: setup Python venv
command: |
python3 -m venv venv
. venv/bin/activate
pip install --install-option="--no-cython-compile" Cython==0.25
pip install --install-option="--no-cython-compile" cython
pip install numpy
pip install nose mpmath argparse Pillow codecov matplotlib Sphinx==1.7.2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

deploy:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7.0

working_directory: ~/repo

Expand Down
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@ matrix:
- TESTMODE=fast
- COVERAGE=
- NUMPYSPEC="--pre --upgrade --timeout=60 -f $PRE_WHEELS numpy"
- python: 3.6
- python: 3.7
dist: xenial # travis-ci/travis-ci/issues/9815
sudo: true
env:
- TESTMODE=full
- COVERAGE="--coverage --gcov"
- NUMPYSPEC=numpy
- python: 3.5
- python: 3.6
env:
- TESTMODE=fast
- COVERAGE=
- USE_WHEEL=1
- REFGUIDE_CHECK=1
- python: 3.4
- python: 3.5
env:
- TESTMODE=fast
- COVERAGE=
Expand All @@ -50,7 +52,7 @@ matrix:
- TESTMODE=fast
- COVERAGE=
- NUMPYSPEC=numpy
- MB_PYTHON_VERSION=3.6
- MB_PYTHON_VERSION=3.7
addons:
apt:
packages:
Expand Down Expand Up @@ -130,7 +132,7 @@ before_install:
- mkdir builds
- cd builds
- travis_retry pip install --upgrade pip setuptools wheel
- travis_retry pip install cython==0.25.2
- travis_retry pip install cython
- if [ -n "$NUMPYSPEC" ]; then travis_retry pip install $NUMPYSPEC; fi
- travis_retry pip install --upgrade pytest pytest-xdist pytest-faulthandler mpmath argparse Pillow codecov
- travis_retry pip install gmpy2 # speeds up mpmath (scipy.special tests)
Expand Down
7 changes: 6 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ environment:
TEST_MODE: fast

- PYTHON: C:\Python34-x64
PYTHON_VERSION: 3.4
PYTHON_VERSION: 3.5
PYTHON_ARCH: 64
TEST_MODE: fast

Expand All @@ -41,6 +41,11 @@ environment:
PYTHON_ARCH: 64
TEST_MODE: full

- PYTHON: C:\Python37-x64
PYTHON_VERSION: 3.7
PYTHON_ARCH: 64
TEST_MODE: full

- PYTHON: C:\Python27
PYTHON_VERSION: 2.7
PYTHON_ARCH: 32
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ filterwarnings =
always::scipy._lib._testutils.FPUModeChangeWarning
once:.*LAPACK bug 0038.*:RuntimeWarning
ignore:the matrix subclass is not the recommended way*:PendingDeprecationWarning
ignore:Using or importing the ABCs from 'collections'*:DeprecationWarning
env =
PYTHONHASHSEED=0

0 comments on commit bc35591

Please sign in to comment.