Commit 0cddf3ec authored by Peter Parente's avatar Peter Parente

Merge pull request #134 from jakirkham/use_travis_ci

Use Travis CI
parents 1cd259b1 5880e3c4
language: generic
sudo: required
services:
- docker
before_install:
- make refresh-all
script:
- make build-all
...@@ -46,6 +46,8 @@ refresh/%: ...@@ -46,6 +46,8 @@ refresh/%:
# skip if error: a stack might not be on dockerhub yet # skip if error: a stack might not be on dockerhub yet
-docker pull $(OWNER)/$(notdir $@):latest -docker pull $(OWNER)/$(notdir $@):latest
refresh-all: $(patsubst %,refresh/%, $(ALL_STACKS))
release-all: environment-check \ release-all: environment-check \
$(patsubst %,refresh/%, $(ALL_STACKS)) \ $(patsubst %,refresh/%, $(ALL_STACKS)) \
$(patsubst %,build/%, $(ALL_STACKS)) \ $(patsubst %,build/%, $(ALL_STACKS)) \
......
...@@ -69,7 +69,7 @@ RUN apt-get update && \ ...@@ -69,7 +69,7 @@ RUN apt-get update && \
USER jovyan USER jovyan
# Install Python 3 packages # Install Python 3 packages
RUN conda install --yes \ RUN conda install --quiet --yes \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
'matplotlib=1.5*' \ 'matplotlib=1.5*' \
...@@ -79,7 +79,7 @@ RUN conda install --yes \ ...@@ -79,7 +79,7 @@ RUN conda install --yes \
&& conda clean -tipsy && conda clean -tipsy
# Install Python 2 packages and kernel spec # Install Python 2 packages and kernel spec
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'ipython=4.1*' \ 'ipython=4.1*' \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
...@@ -92,7 +92,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -92,7 +92,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
# R packages # R packages
RUN conda config --add channels r RUN conda config --add channels r
RUN conda install --yes \ RUN conda install --quiet --yes \
'r-base=3.2*' \ 'r-base=3.2*' \
'r-irkernel=0.5*' \ 'r-irkernel=0.5*' \
'r-ggplot2=1.0*' \ 'r-ggplot2=1.0*' \
......
...@@ -28,7 +28,7 @@ RUN apt-get update && \ ...@@ -28,7 +28,7 @@ RUN apt-get update && \
USER jovyan USER jovyan
# Install Python 3 packages # Install Python 3 packages
RUN conda install --yes \ RUN conda install --quiet --yes \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
'matplotlib=1.5*' \ 'matplotlib=1.5*' \
...@@ -48,7 +48,7 @@ RUN conda install --yes \ ...@@ -48,7 +48,7 @@ RUN conda install --yes \
&& conda clean -tipsy && conda clean -tipsy
# Install Python 2 packages # Install Python 2 packages
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'ipython=4.1*' \ 'ipython=4.1*' \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
...@@ -71,7 +71,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ ...@@ -71,7 +71,7 @@ RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \
# R packages including IRKernel which gets installed globally. # R packages including IRKernel which gets installed globally.
RUN conda config --add channels r RUN conda config --add channels r
RUN conda install --yes \ RUN conda install --quiet --yes \
'rpy2=2.7*' \ 'rpy2=2.7*' \
'r-base=3.2*' \ 'r-base=3.2*' \
'r-irkernel=0.5*' \ 'r-irkernel=0.5*' \
......
# Copyright (c) Jupyter Development Team. # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
FROM debian:jessie
# Debian Jessie image released 2016 March 01.
FROM debian@sha256:a9c958be96d7d40df920e7041608f2f017af81800ca5ad23e327bc402626b58e
MAINTAINER Jupyter Project <jupyter@googlegroups.com> MAINTAINER Jupyter Project <jupyter@googlegroups.com>
......
# Copyright (c) Jupyter Development Team. # Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License. # Distributed under the terms of the Modified BSD License.
FROM debian:jessie # Debian Jessie image released 2016 March 01.
FROM debian@sha256:a9c958be96d7d40df920e7041608f2f017af81800ca5ad23e327bc402626b58e
MAINTAINER Jupyter Project <jupyter@googlegroups.com> MAINTAINER Jupyter Project <jupyter@googlegroups.com>
...@@ -70,11 +71,11 @@ RUN cd /tmp && \ ...@@ -70,11 +71,11 @@ RUN cd /tmp && \
echo "9ea57c0fdf481acf89d816184f969b04bc44dea27b258c4e86b1e3a25ff26aa0 *Miniconda3-3.19.0-Linux-x86_64.sh" | sha256sum -c - && \ echo "9ea57c0fdf481acf89d816184f969b04bc44dea27b258c4e86b1e3a25ff26aa0 *Miniconda3-3.19.0-Linux-x86_64.sh" | sha256sum -c - && \
/bin/bash Miniconda3-3.19.0-Linux-x86_64.sh -f -b -p $CONDA_DIR && \ /bin/bash Miniconda3-3.19.0-Linux-x86_64.sh -f -b -p $CONDA_DIR && \
rm Miniconda3-3.19.0-Linux-x86_64.sh && \ rm Miniconda3-3.19.0-Linux-x86_64.sh && \
$CONDA_DIR/bin/conda install --yes conda==3.19.1 && \ $CONDA_DIR/bin/conda install --quiet --yes conda==3.19.1 && \
conda clean -tipsy conda clean -tipsy
# Install Jupyter notebook as jovyan # Install Jupyter notebook as jovyan
RUN conda install --yes \ RUN conda install --quiet --yes \
'notebook=4.1*' \ 'notebook=4.1*' \
terminado \ terminado \
&& conda clean -tipsy && conda clean -tipsy
......
...@@ -42,7 +42,7 @@ ENV MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so ...@@ -42,7 +42,7 @@ ENV MESOS_NATIVE_LIBRARY /usr/local/lib/libmesos.so
USER jovyan USER jovyan
# Install Python 3 packages # Install Python 3 packages
RUN conda install --yes \ RUN conda install --quiet --yes \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
'matplotlib=1.5*' \ 'matplotlib=1.5*' \
...@@ -52,7 +52,7 @@ RUN conda install --yes \ ...@@ -52,7 +52,7 @@ RUN conda install --yes \
&& conda clean -tipsy && conda clean -tipsy
# Install Python 2 packages and kernel spec # Install Python 2 packages and kernel spec
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'ipython=4.1*' \ 'ipython=4.1*' \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
......
...@@ -17,7 +17,7 @@ USER jovyan ...@@ -17,7 +17,7 @@ USER jovyan
# R packages # R packages
RUN conda config --add channels r RUN conda config --add channels r
RUN conda install --yes \ RUN conda install --quiet --yes \
'r-base=3.2*' \ 'r-base=3.2*' \
'r-irkernel=0.5*' \ 'r-irkernel=0.5*' \
'r-plyr=1.8*' \ 'r-plyr=1.8*' \
......
...@@ -14,7 +14,7 @@ RUN apt-get update && \ ...@@ -14,7 +14,7 @@ RUN apt-get update && \
USER jovyan USER jovyan
# Install Python 3 packages # Install Python 3 packages
RUN conda install --yes \ RUN conda install --quiet --yes \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
'matplotlib=1.5*' \ 'matplotlib=1.5*' \
...@@ -34,7 +34,7 @@ RUN conda install --yes \ ...@@ -34,7 +34,7 @@ RUN conda install --yes \
&& conda clean -tipsy && conda clean -tipsy
# Install Python 2 packages # Install Python 2 packages
RUN conda create --yes -p $CONDA_DIR/envs/python2 python=2.7 \ RUN conda create --quiet --yes -p $CONDA_DIR/envs/python2 python=2.7 \
'ipython=4.1*' \ 'ipython=4.1*' \
'ipywidgets=4.1*' \ 'ipywidgets=4.1*' \
'pandas=0.17*' \ 'pandas=0.17*' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment