blob: e055739e5220d7d731662357686547c4f997d12c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: circleci/python:3.6.1
working_directory: ~/repo
steps:
- checkout
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install cython sphinx matplotlib
- run:
name: build numpy
command: |
. venv/bin/activate
pip install --upgrade pip setuptools
pip install cython
pip install .
- run:
name: build devdocs
command: |
. venv/bin/activate
cd doc
git submodule update --init
make html
- run:
name: build neps
command: |
. venv/bin/activate
cd doc/neps
make html
# - store_artifacts:
# path: doc/build/html/
# destination: devdocs
# - store_artifacts:
# path: doc/neps/_build/html/
# destination: neps
- deploy:
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
echo "Deploying on master"
fi
|