File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
{{cookiecutter.github_project_name}} Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ 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
@@ -24,6 +24,13 @@ install:
24
24
- ps : Install-Product node $env:nodejs_version
25
25
# Ensure python scripts are from right version:
26
26
- ' SET "PATH=%PYTHON%\Scripts;%PYTHON%;%PATH%"'
27
+ # Setup conda:
28
+ - ' conda list'
29
+ - ' conda update conda -y'
30
+ # If 32 bit, force conda to use it:
31
+ - ' IF %PYTHON_ARCH% EQU 32 SET CONDA_FORCE_32BIT=1'
32
+ - ' conda create -n test_env python=%PYTHON_VERSION% -y'
33
+ - ' activate test_env'
27
34
# Update install tools:
28
35
- ' conda install setuptools pip -y'
29
36
- ' 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