File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -5,28 +5,29 @@ version: 2
5
5
apt-run : &apt-install
6
6
name : Install apt packages
7
7
command : |
8
- apt-get update
9
- apt-get install build-essential
8
+ sudo apt-get update
9
+ sudo apt-get install build-essential
10
+
11
+ pip-run : &pip-install
12
+ name : Install Python dependencies
13
+ command : |
14
+ python3 -m venv venv
15
+ . venv/bin/activate
16
+ pip install -q -r pip-requirements.txt
10
17
11
18
jobs :
12
19
build :
13
20
docker :
14
- - image : continuumio/miniconda3
21
+ - image : circleci/python:3.6
15
22
16
23
steps :
17
24
- checkout
18
25
- run : *apt-install # run the apt install defined above
26
+ - run : *pip-install # run the pip install defined above
19
27
20
28
# - restore_cache: # Need cache for all tutorial data!
21
29
# keys: sample-data-v1
22
30
23
- - run :
24
- name : Conda setup
25
- command : |
26
- conda config --set always_yes yes --set changeps1 no
27
- conda env update --file=environment.yml
28
- pip install git+https://github.com/jupyter/nbconvert
29
-
30
31
- run :
31
32
name : Build documentation
32
33
command : |
Original file line number Diff line number Diff line change @@ -5,3 +5,8 @@ matplotlib==2.0.2
5
5
numpy==1.13.1
6
6
jupyter==1.0
7
7
scipy=0.19
8
+ notebook=5.0
9
+ aplpy
10
+ spectral-cube
11
+ reproject
12
+ git+https://github.com/jupyter/nbconvert
You can’t perform that action at this time.
0 commit comments