test binder-dir handling

pull/83/head
Min RK 2017-10-04 23:49:00 +02:00
rodzic 0fa82b1790
commit a9f0dd0f61
15 zmienionych plików z 53 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,2 @@
dependencies:
- numpy

Wyświetl plik

@ -0,0 +1,2 @@
FROM doesntmatter
# this file should be ignored because there's a .binder dir

Wyświetl plik

@ -0,0 +1,4 @@
Binder Directory
----------------
top-level Dockerfile will be ignored if .binder/environment.yml exists.

Wyświetl plik

@ -0,0 +1,3 @@
dependencies:
- thiswontwork
invalid

Wyświetl plik

@ -0,0 +1,6 @@
#!/usr/bin/env python
import sys
assert sys.version_info[:2] == (3, 6), sys.version
import numpy

Wyświetl plik

@ -0,0 +1,9 @@
FROM python:3.5
ARG JUPYTERHUB_VERSION
RUN pip3 install jupyterhub==$JUPYTERHUB_VERSION
ENTRYPOINT "/bin/sh"
ADD sayhi.sh /usr/local/bin/sayhi.sh
ADD verify verify

Wyświetl plik

@ -0,0 +1,3 @@
FROM python:3.5
RUN exit 1

Wyświetl plik

@ -0,0 +1,4 @@
Binder Directory
----------------
top-level Dockerfile will be ignored if .binder/Dockerfile exists.

Wyświetl plik

@ -0,0 +1,3 @@
#!/bin/bash
echo hi
exit 0

Wyświetl plik

@ -0,0 +1,3 @@
#!/bin/sh
set -e
/usr/local/bin/sayhi.sh

Wyświetl plik

@ -0,0 +1,2 @@
#!/bin/bash
jupyter nbextension enable --py --sys-prefix ipyleaflet

Wyświetl plik

@ -0,0 +1 @@
ipyleaflet

Wyświetl plik

@ -0,0 +1,4 @@
Binder Directory
----------------
top-level environment.yml will be ignored if .binder/requiremets.txt exists.

Wyświetl plik

@ -0,0 +1,3 @@
dependencies:
- thiswontwork
invalid

Wyświetl plik

@ -0,0 +1,4 @@
#!/bin/bash
test -z $(pip list | grep scipy)
jupyter nbextension list
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled