Permalink
Browse files

circecli

  • Loading branch information...
sdpython committed Aug 23, 2017
1 parent ce96620 commit b4ce65480a788712ca8260acf3cca58dd713b185
Showing with 142 additions and 30 deletions.
  1. +114 −0 .circleci/config.yml
  2. +3 −0 README.rst
  3. +3 −0 _doc/sphinxdoc/source/index.rst
  4. +16 −9 requirements.txt
  5. +6 −15 requirements_conda.txt
  6. +0 −6 requirements_ext.txt
View
@@ -0,0 +1,114 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
- v1-dependencies-
- run:
name: install pandoc
command: |
sudo apt-get update
wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
sudo dpkg -i pandoc-1.19.2.1-1-amd64.deb
- run:
name: install tex
command: |
sudo apt-get install -y texlive
sudo apt-get install -y texlive-latex-extra
sudo apt-get install -y texlive-lang-french
- run:
name: install 7z
command: |
sudo apt-get install -y p7zip-full
- run:
name: install InkScape
command: |
sudo apt-get install -y inkscape
- run:
name: install graphviz
command: |
sudo apt-get install -y graphviz
- run:
name: install avconv (ffmpeg)
command: |
sudo apt-get install libav-tools
- run:
name: install dependencies 1
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements_conda.txt
- run:
name: install dependencies 2
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- run:
name: install dependencies 3
command: |
python3 -m venv venv
. venv/bin/activate
pip install git+https://github.com/sdpython/sphinxcontrib-images.git --upgrade --no-deps
pip install git+https://github.com/bokeh/datashader.git --upgrade --no-deps
- run:
name: install basemap
command: |
python3 -m venv venv
. venv/bin/activate
sudo apt-get install libgeos-dev
pip install git+https://github.com/matplotlib/basemap.git
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
- run:
name: run tests
command: |
. venv/bin/activate
python setup.py unittests
- run:
name: wheel
command: |
. venv/bin/activate
python setup.py bdist_wheel
mkdir -p test-reports/dist
cp dist/*.whl test-reports/dist
- run:
name: documentation
command: |
. venv/bin/activate
python setup.py build_sphinx
- run:
name: copy documentation
command: |
mkdir -p test-reports/doc
cp -r _doc/sphinxdoc/build/html test-reports/doc
- store_artifacts:
path: test-reports
destination: test-reports
View
@@ -12,6 +12,9 @@ README
:target: https://ci.appveyor.com/project/sdpython/code-beatrix
:alt: Build Status Windows
.. image:: https://circleci.com/gh/sdpython/code_beatrix/tree/master.svg?style=svg
:target: https://circleci.com/gh/sdpython/code_beatrix/tree/master
.. image:: https://badge.fury.io/py/code_beatrix.svg
:target: http://badge.fury.io/py/code_beatrix
@@ -96,6 +96,9 @@ Contacts
:target: https://ci.appveyor.com/project/sdpython/code-beatrix
:alt: Build Status Windows
.. image:: https://circleci.com/gh/sdpython/code_beatrix/tree/master.svg?style=svg
:target: https://circleci.com/gh/sdpython/code_beatrix/tree/master
.. image:: https://badge.fury.io/py/code_beatrix.svg
:target: http://badge.fury.io/py/code_beatrix
View
@@ -1,16 +1,23 @@
azure
colormap
cryptography
easydev
antlr4-python3-runtime
autopep8
babel!=2.0
blockdiag
folium
jyquickhelper
keyring
mpld3
pycodestyle
pycryptodomex
pycodestyle>=2.0.0
pyshp
qgrid
shapely
tutormagic
xgboost
xlrd
semantic_version
sphinx-gallery
sphinxcontrib-images
sphinxcontrib-imagesvg
sphinxcontrib-jsdemo
sphinxjp.themes.basicstrap
sphinxjp.themes.revealjs
sphinxjp.themes.sphinxjp
tqdm
unify
wheel
View
@@ -1,27 +1,18 @@
basemap
bokeh
Cython
flake8
ipykernel
ipyparallel
ipython
ipywidgets
jupyter
jupyter_core
matplotlib
nbformat
nbpresent
notebook>=5.0.0
networkx
numpy
openpyxl
pandas
numpy>=1.11.0
pandas>=0.20.0
pillow
pyproj
pyzmq
requests
scikit-learn
seaborn
Sphinx
statsmodels
statsmodels
toolz
traitlets
View

This file was deleted.

Oops, something went wrong.

0 comments on commit b4ce654

Please sign in to comment.