Skip to content

Commit 549ddd8

Browse files
committed
try following sunpy config instead
1 parent f2caf2f commit 549ddd8

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

.circleci/config.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,29 @@ version: 2
55
apt-run: &apt-install
66
name: Install apt packages
77
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
1017
1118
jobs:
1219
build:
1320
docker:
14-
- image: continuumio/miniconda3
21+
- image: circleci/python:3.6
1522

1623
steps:
1724
- checkout
1825
- run: *apt-install # run the apt install defined above
26+
- run: *pip-install # run the pip install defined above
1927

2028
# - restore_cache: # Need cache for all tutorial data!
2129
# keys: sample-data-v1
2230

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-
3031
- run:
3132
name: Build documentation
3233
command: |

pip-requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ matplotlib==2.0.2
55
numpy==1.13.1
66
jupyter==1.0
77
scipy=0.19
8+
notebook=5.0
9+
aplpy
10+
spectral-cube
11+
reproject
12+
git+https://github.com/jupyter/nbconvert

0 commit comments

Comments
 (0)