@@ -5,19 +5,18 @@ environment:
5
5
# - PYTHON: "C:\\Python35"
6
6
# MAKE_WINEX: 1
7
7
- PYTHON : " C:\\ Python37-x64"
8
- MAKE_WINEX : 0
8
+ MAKE_WINEX : 1
9
9
10
10
install :
11
11
- ' %PYTHON%\python.exe -m pip install -U -r ci\requirements.txt'
12
- - if %MAKE_WINEX%==1 %PYTHON%\Scripts\pip.exe install pyinstaller
12
+ # - if %MAKE_WINEX%==1 %PYTHON%\Scripts\pip.exe install pyinstaller
13
13
14
14
build_script :
15
15
- ' %PYTHON%\python.exe -m pip install .'
16
+ - if %MAKE_WINEX%==1 cd ci\appveyor
17
+ - if %MAKE_WINEX%==1 %PYTHON%\Scripts\pyinstaller.exe mzml2isa_cli.spec mzml2isa_cli.py
18
+ - if %MAKE_WINEX%==1 cd ..\..
16
19
17
- # build_script:
18
- # - if %MAKE_WINEX%==1 cd scripts\for_pyinstaller
19
- # - if %MAKE_WINEX%==1 %PYTHON%\Scripts\pyinstaller.exe mzml2isa_cli.spec mzml2isa_cli.py
20
- # - cd ..\..\
21
20
# test_script:
22
21
# - mkdir data
23
22
# - cd data
@@ -39,16 +38,16 @@ build_script:
39
38
# - if %MAKE_WINEX%==1 java -cp ..\..\..\ISA-validator-1.6.5\isatools_deps.jar org.isatools.isatab.manager.SimpleManager validate out_folder\metabolights\MTBLS267_exe ..\..\..\Configurations\MetaboLightsConfig20140506\
40
39
41
40
before_test :
42
- - ' if %PYTHON%=="C:\\Python27" %PYTHON%\python.exe -m pip install https://pypi.anaconda.org/carlkl/simple/backports-lzma/0.0.3/backports.lzma-0.0.3-cp27-none-win32.whl'
43
41
# backports.lzma is pre-built in an alternative PyPI repository
42
+ - ' if %PYTHON%=="C:\\Python27" %PYTHON%\python.exe -m pip install https://pypi.anaconda.org/carlkl/simple/backports-lzma/0.0.3/backports.lzma-0.0.3-cp27-none-win32.whl'
44
43
- ' %PYTHON%\python.exe -m pip install -r tests\requirements.txt'
45
44
46
45
test_script :
47
46
- ' %PYTHON%\python.exe -m green'
48
47
49
- # artifacts:
50
- # - path: scripts\for_pyinstaller\dist\mzml2isa_cli.exe
51
- # name: mzml2isa_cli
48
+ artifacts :
49
+ - path : scripts\for_pyinstaller\dist\mzml2isa_cli.exe
50
+ name : mzml2isa_cli
52
51
53
52
deploy :
54
53
provider : GitHub
0 commit comments