File tree Expand file tree Collapse file tree 8 files changed +25
-46
lines changed
Filter options
Expand file tree Collapse file tree 8 files changed +25
-46
lines changed
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ environment:
21
21
# theoretically the CONDA_INSTALL_LOCN could be only two: one for 32bit,
22
22
# one for 64bit because we construct envs anyway. But using one for the
23
23
# right python version is hopefully making it fast due to package caching.
24
- - PYTHON_VERSION : " 3.5"
25
- CONDA_INSTALL_LOCN : " C:\\ Miniconda35-x64"
26
- TEST_ALL : " no"
27
24
- PYTHON_VERSION : " 3.6"
28
25
CONDA_INSTALL_LOCN : " C:\\ Miniconda36-x64"
29
26
TEST_ALL : " no"
Original file line number Diff line number Diff line change 97
97
- run : *apt-install
98
98
- run : *fonts-install
99
99
- run : *pip-install
100
-
101
- - run : *deps-install
100
+ - run :
101
+ << : *deps-install
102
+ environment :
103
+ NUMPY_VERSION : " ==1.11.0"
102
104
- run : *mpl-install
103
105
104
106
- run : *doc-build
@@ -114,34 +116,21 @@ jobs:
114
116
name : " Built documentation is available at:"
115
117
command : echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"
116
118
117
- - add_ssh_keys :
118
- fingerprints :
119
- - " 78:13:59:08:61:a9:e5:09:af:df:3a:d8:89:c2:84:c0"
120
- - deploy :
121
- name : " Deploy new docs"
122
- command : ./.circleci/deploy-docs.sh
123
-
124
- docs-python35 :
119
+ docs-python37 :
125
120
docker :
126
- - image : circleci/python:3.5
121
+ - image : circleci/python:3.7
127
122
steps :
128
123
- checkout
129
124
130
125
- run : *apt-install
131
126
- run : *fonts-install
132
127
- run : *pip-install
133
128
134
- - run :
135
- << : *deps-install
136
- environment :
137
- NUMPY_VERSION : " ==1.11.0"
129
+ - run : *deps-install
138
130
- run : *mpl-install
139
131
140
132
- run : *doc-build
141
133
142
- # We don't build the LaTeX docs here, so linkchecker will complain
143
- - run : touch doc/build/html/Matplotlib.pdf
144
-
145
134
- run : *doc-bundle
146
135
- store_artifacts :
147
136
path : doc/build/sphinx-gallery-files.tar.gz
@@ -153,6 +142,12 @@ jobs:
153
142
name : " Built documentation is available at:"
154
143
command : echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"
155
144
145
+ - add_ssh_keys :
146
+ fingerprints :
147
+ - " 78:13:59:08:61:a9:e5:09:af:df:3a:d8:89:c2:84:c0"
148
+ - deploy :
149
+ name : " Deploy new docs"
150
+ command : ./.circleci/deploy-docs.sh
156
151
157
152
# ########################################
158
153
# Defining workflows gets us parallelism.
@@ -162,5 +157,5 @@ workflows:
162
157
version : 2
163
158
build :
164
159
jobs :
165
- - docs-python35
166
160
- docs-python36
161
+ - docs-python37
Original file line number Diff line number Diff line change @@ -75,13 +75,9 @@ matrix:
75
75
- RUN_PYTEST=
76
76
- RUN_FLAKE8=1
77
77
- EXTRAREQS='-r requirements/testing/travis_flake8.txt'
78
- - python : 3.5
79
- dist : trusty
80
- # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
81
- env :
82
- - PINNEDVERS='-c requirements/testing/travis35.txt'
83
78
- python : 3.6
84
79
env :
80
+ - PINNEDVERS='-c requirements/testing/travis36minver.txt'
85
81
- DELETE_FONT_CACHE=1
86
82
- EXTRAREQS='-r requirements/testing/travis36.txt'
87
83
- python : 3.7
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ Dependencies
133
133
134
134
Matplotlib requires the following dependencies:
135
135
136
- * `Python <https://www.python.org/downloads/ >`_ (>= 3.5 )
136
+ * `Python <https://www.python.org/downloads/ >`_ (>= 3.6 )
137
137
* `FreeType <https://www.freetype.org/ >`_ (>= 2.3)
138
138
* `libpng <http://www.libpng.org >`_ (>= 1.2)
139
139
* `NumPy <http://www.numpy.org >`_ (>= 1.11)
Original file line number Diff line number Diff line change 10
10
vmImage : ' Ubuntu 16.04'
11
11
strategy :
12
12
matrix :
13
- Python35 :
14
- python.version : ' 3.5'
15
13
Python36 :
16
14
python.version : ' 3.6'
17
15
Python37 :
Original file line number Diff line number Diff line change 4
4
import sys
5
5
6
6
import numpy as np
7
+ from pathlib import Path
7
8
import pytest
8
9
9
10
import matplotlib as mpl
@@ -123,10 +124,8 @@ def isAvailable(cls):
123
124
('html' , 'movie.html' ),
124
125
('null' , 'movie.null' )
125
126
]
126
- if sys .version_info >= (3 , 6 ):
127
- from pathlib import Path
128
- WRITER_OUTPUT += [
129
- (writer , Path (output )) for writer , output in WRITER_OUTPUT ]
127
+ WRITER_OUTPUT += [
128
+ (writer , Path (output )) for writer , output in WRITER_OUTPUT ]
130
129
131
130
132
131
# Smoke test for saving animations. In the future, we should probably
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Extra pip requirements for the first travis python 3.6 build
2
+
3
+ cycler==0.10
4
+ python-dateutil==2.1
5
+ numpy==1.11.0
6
+ pyparsing==2.0.1
You can’t perform that action at this time.
0 commit comments