summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTania Allard <taniar.allard@gmail.com>2022-01-19 15:58:42 +0000
committerTania Allard <taniar.allard@gmail.com>2022-01-19 15:58:42 +0000
commit7b3e5fbc75082bc501b0106f91eb51d98cd45a5b (patch)
treeaab61a72e41368b638f1b9ab361cda1001b105a2
parentc30876f6411ef0c5365a8e4cf40cc3d4ba41196c (diff)
downloadnumpy-7b3e5fbc75082bc501b0106f91eb51d98cd45a5b.tar.gz
BUG: Fix pre-builds in Gitpod
-rw-r--r--.gitpod.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index f9c35fd9b..9c3888de5 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -6,18 +6,19 @@
image: numpy/numpy-gitpod:latest
tasks:
- - name: Prepare development
+ - name: Prepare development environment
init: |
mkdir -p .vscode
cp tools/gitpod/settings.json .vscode/settings.json
conda activate numpy-dev
+ git pull --unshallow # need to force this else the prebuild fails
+ git fetch --tags
python setup.py build_ext --inplace
echo "🛠 Completed rebuilding NumPy!! 🛠 "
echo "📖 Building docs 📖 "
cd doc
make html
echo "✨ Pre-build complete! You can close this terminal ✨ "
-
# --------------------------------------------------------
# exposing ports for liveserve
@@ -60,3 +61,4 @@ github:
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false
+ \ No newline at end of file