File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
{{cookiecutter.github_project_name}} Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,34 @@ skip_branch_with_pr: true
5
5
environment :
6
6
nodejs_version : " 8"
7
7
matrix :
8
- - PYTHON : " C:\\ Miniconda36 -x64"
9
- PYTHON_VERSION : " 3.6.x "
8
+ - PYTHON : " C:\\ Miniconda3 -x64"
9
+ PYTHON_VERSION : " 3.7 "
10
10
PYTHON_MAJOR : 3
11
11
PYTHON_ARCH : " 64"
12
12
- PYTHON : " C:\\ Miniconda3"
13
- PYTHON_VERSION : " 3.4.x "
13
+ PYTHON_VERSION : " 3.4"
14
14
PYTHON_MAJOR : 3
15
15
PYTHON_ARCH : " 32"
16
16
17
17
# build cache to preserve files/folders between builds
18
18
cache :
19
19
- ' %AppData%/npm-cache'
20
+ - ' %PYTHON%/pkgs'
21
+ - ' %LOCALAPPDATA%\pip\Cache'
20
22
21
23
# scripts that run after cloning repository
22
24
install :
23
25
# Install node:
24
26
- ps : Install-Product node $env:nodejs_version
25
27
# Ensure python scripts are from right version:
26
28
- ' SET "PATH=%PYTHON%\Scripts;%PYTHON%;%PATH%"'
29
+ # Setup conda:
30
+ - ' conda list'
31
+ - ' conda update conda -y'
32
+ # If 32 bit, force conda to use it:
33
+ - ' IF %PYTHON_ARCH% EQU 32 SET CONDA_FORCE_32BIT=1'
34
+ - ' conda create -n test_env python=%PYTHON_VERSION% -y'
35
+ - ' activate test_env'
27
36
# Update install tools:
28
37
- ' conda install setuptools pip -y'
29
38
- ' python -m pip install --upgrade pip'
Original file line number Diff line number Diff line change 65
65
# The short X.Y version.
66
66
67
67
68
- # get version from nbdime :
68
+ # get version from python package :
69
69
import os
70
70
here = os .path .dirname (__file__ )
71
71
repo = os .path .join (here , '..' , '..' )
You can’t perform that action at this time.
0 commit comments