Skip to content

CircleCI 2.0 migration #1109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Aug 17, 2018
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a1019ff
Initial cut at simple circle 2.0 config for 2.7 and 3.5 core tests
jonmmease Aug 13, 2018
5f56b4d
Use docker image with python and node (Node needed for packaging)
jonmmease Aug 13, 2018
568e2ef
Removed empty job
jonmmease Aug 13, 2018
6040869
Move tests that interact with plot.ly to the tests/plot_ly directory
jonmmease Aug 13, 2018
0d035f7
Fix package import due to move
jonmmease Aug 14, 2018
c52b76a
Do npm install to setup jupyter tests
jonmmease Aug 14, 2018
5c4e15c
Add empty __init__.py to new test_plot_ly package
jonmmease Aug 14, 2018
6b3ac10
Move jupyter test directory setup from .tox to .circle/config.yml
jonmmease Aug 14, 2018
bdfecf5
CD in same command as npm install
jonmmease Aug 14, 2018
813b972
fix npm command
jonmmease Aug 14, 2018
79a24ed
Remove npm from tox.ini
jonmmease Aug 14, 2018
62a110a
Remove tests for Python 3.3. It's past EOL
jonmmease Aug 14, 2018
3db3b58
Remove npm from tox.ini
jonmmease Aug 14, 2018
0b0dc4f
Fill out test matrix
jonmmease Aug 14, 2018
25ea3d6
Fix YAML typo
jonmmease Aug 14, 2018
b8fb4b4
Fix tox typo
jonmmease Aug 14, 2018
9e77c16
Missing double quote
jonmmease Aug 14, 2018
4a76df0
plot_ly tests don't need to run core.
jonmmease Aug 14, 2018
45e42fe
Update shapely dependency to version 1.6.4 for Python 3.7 compatibility
jonmmease Aug 14, 2018
221612f
Added pytest validator tests
jonmmease Aug 14, 2018
be01cf6
Only run validator tests for optional configuration
jonmmease Aug 14, 2018
3cba342
shapely==1.6.4.post2 should have Python 3.7 support
jonmmease Aug 14, 2018
047a525
Fix validator tests for Python 2.7
jonmmease Aug 14, 2018
a89a9af
Disable optional tests for Python 3.7 due to shapely incompatibility
jonmmease Aug 15, 2018
7a8a88b
Add tox caching for 2.7-core
jonmmease Aug 15, 2018
05fc89b
Add tox caching for 3.6-optional
jonmmease Aug 15, 2018
498d9fc
Revert "Add tox caching for 3.6-optional"
jonmmease Aug 15, 2018
0e4668a
Caching .tox doesn't improve build performance very much, disable
jonmmease Aug 15, 2018
1df1100
Add longer no_output_timeout for tox and npm commands
jonmmease Aug 15, 2018
92b49d3
Remove old circle 1.0 file
jonmmease Aug 15, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add longer no_output_timeout for tox and npm commands
Not usually needed, but occasionally these commands have exceeded 10m
  • Loading branch information
jonmmease committed Aug 15, 2018
commit 1df110022b3eae35049f0d43f21c08bf53515606
38 changes: 33 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py27-core'
no_output_timeout: 20m

"python-3.4-core":
docker:
Expand All @@ -31,6 +32,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py34-core'
no_output_timeout: 20m

"python-3.5-core":
docker:
Expand All @@ -46,6 +48,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py35-core'
no_output_timeout: 20m

"python-3.6-core":
docker:
Expand All @@ -61,6 +64,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py36-core'
no_output_timeout: 20m

"python-3.7-core":
docker:
Expand All @@ -76,6 +80,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py37-core'
no_output_timeout: 20m

# Optional
"python-2.7-optional":
Expand All @@ -89,10 +94,14 @@ jobs:
- run:
name: Install tox
command: 'sudo pip install tox'
- run: cd plotly/tests/test_optional/test_jupyter && npm install
- run:
name: Install npm dependencies
command: cd plotly/tests/test_optional/test_jupyter && npm install
no_output_timeout: 20m
- run:
name: Test with tox
command: 'tox -e py27-optional'
no_output_timeout: 20m

"python-3.4-optional":
docker:
Expand All @@ -105,10 +114,14 @@ jobs:
- run:
name: Install tox
command: 'sudo pip install tox'
- run: cd plotly/tests/test_optional/test_jupyter && npm install
- run:
name: Install npm dependencies
command: cd plotly/tests/test_optional/test_jupyter && npm install
no_output_timeout: 20m
- run:
name: Test with tox
command: 'tox -e py34-optional'
no_output_timeout: 20m

"python-3.5-optional":
docker:
Expand All @@ -121,10 +134,14 @@ jobs:
- run:
name: Install tox
command: 'sudo pip install tox'
- run: cd plotly/tests/test_optional/test_jupyter && npm install
- run:
name: Install npm dependencies
command: cd plotly/tests/test_optional/test_jupyter && npm install
no_output_timeout: 20m
- run:
name: Test with tox
command: 'tox -e py35-optional'
no_output_timeout: 20m

"python-3.6-optional":
docker:
Expand All @@ -137,10 +154,14 @@ jobs:
- run:
name: Install tox
command: 'sudo pip install tox'
- run: cd plotly/tests/test_optional/test_jupyter && npm install
- run:
name: Install npm dependencies
command: cd plotly/tests/test_optional/test_jupyter && npm install
no_output_timeout: 20m
- run:
name: Test with tox
command: 'tox -e py36-optional'
no_output_timeout: 20m

"python-3.7-optional":
docker:
Expand All @@ -153,10 +174,14 @@ jobs:
- run:
name: Install tox
command: 'sudo pip install tox'
- run: cd plotly/tests/test_optional/test_jupyter && npm install
- run:
name: Install npm dependencies
command: cd plotly/tests/test_optional/test_jupyter && npm install
no_output_timeout: 20m
- run:
name: Test with tox
command: 'tox -e py37-optional'
no_output_timeout: 20m

# Plot.ly
"python-2.7-plot_ly":
Expand All @@ -173,6 +198,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py27-plot_ly'
no_output_timeout: 20m

"python-3.4-plot_ly":
docker:
Expand All @@ -188,6 +214,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py34-plot_ly'
no_output_timeout: 20m

"python-3.7-plot_ly":
docker:
Expand All @@ -203,6 +230,7 @@ jobs:
- run:
name: Test with tox
command: 'tox -e py37-plot_ly'
no_output_timeout: 20m

workflows:
version: 2
Expand Down