File tree 2 files changed +8
-26
lines changed
2 files changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -11,35 +11,17 @@ environment:
11
11
matrix :
12
12
- PYTHON : 27
13
13
- PYTHON : 36
14
- - CONDA : 36
15
14
install :
16
15
- cmd : ' "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
17
16
- ps : |
18
- if ($env:PYTHON) {
19
- if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
20
- $env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
21
- python -m pip install --disable-pip-version-check --upgrade --no-warn-script-location pip setuptools
22
- } elseif ($env:CONDA) {
23
- if ($env:CONDA -eq "27") { $env:CONDA = "" }
24
- if ($env:PLATFORM -eq "x64") { $env:CONDA = "$env:CONDA-x64" }
25
- $env:PATH = "C:\Miniconda$env:CONDA\;C:\Miniconda$env:CONDA\Scripts\;$env:PATH"
26
- conda config --set always_yes yes --set changeps1 no
27
- conda config --add channels conda-forge
28
- conda update -q conda
29
- conda install -q conda-build
30
- }
17
+ if ($env:PLATFORM -eq "x64") { $env:PYTHON = "$env:PYTHON-x64" }
18
+ $env:PATH = "C:\Python$env:PYTHON\;C:\Python$env:PYTHON\Scripts\;$env:PATH"
19
+ python -m pip install --disable-pip-version-check --upgrade --no-warn-script-location pip setuptools
31
20
build_script :
32
21
- ps : |
33
- if ($env:PYTHON) {
34
- python setup.py sdist
35
- cd dist
36
- python -m pip install --verbose python_example-0.0.1.tar.gz
37
- cd ..
38
- } else {
39
- echo "conda build conda.recipe"
40
- conda build conda.recipe
41
- echo "conda install --use-local python_example"
42
- conda install --use-local python_example
43
- }
22
+ python setup.py sdist
23
+ cd dist
24
+ python -m pip install --verbose python_example-0.0.1.tar.gz
25
+ cd ..
44
26
test_script :
45
27
- ps : python tests\test.py
Original file line number Diff line number Diff line change 1
1
language : cpp
2
- dist : xenial
2
+ dist : trusty
3
3
matrix :
4
4
include :
5
5
- os : linux
You can’t perform that action at this time.
0 commit comments