Changeset 3fb9404 in sasmodels for appveyor.yml
- Timestamp:
- Jan 24, 2018 4:41:33 PM (7 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 49284e1, 4c8cf97
- Parents:
- 0d5a655 (diff), fefc185 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
appveyor.yml
r1258e32 rfefc185 4 4 # /E:ON and /V:ON options are not enabled in the batch script interpreter 5 5 # See: http://stackoverflow.com/a/13751649/163740 6 CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" 6 # 2018-01-19 PAK: probably irrelevant now that we are using tinycc rather than msvc 7 #CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd" 7 8 8 9 # Workaround for https://github.com/conda/conda-build/issues/636 … … 22 23 - TARGET_ARCH: "x86" 23 24 CONDA_PY: "35" 24 PY_CONDITION: "python >=3.5 "25 PY_CONDITION: "python >=3.5,<3.6" 25 26 CONDA_INSTALL_LOCN: "C:\\Miniconda35" 26 27 - TARGET_ARCH: "x64" … … 34 35 - TARGET_ARCH: "x64" 35 36 CONDA_PY: "35" 36 PY_CONDITION: "python >=3.5 "37 PY_CONDITION: "python >=3.5,<3.6" 37 38 CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64" 38 39 … … 43 44 44 45 install: 45 # Set the CONDA_NPY, although it has no impact on the actual build. We need this because of a test within conda-build. 46 # Set the CONDA_NPY, although it has no impact on the actual build. 47 # We need this because of a test within conda-build. 46 48 - cmd: set CONDA_NPY=19 47 49 48 50 # Remove cygwin (and therefore the git that comes with it). 49 - cmd: rmdir C:\cygwin /s /q 51 # 2018-01-19 PAK: irrelevant since we already pulled the repo 52 #- cmd: rmdir C:\cygwin /s /q 53 54 # Set the conda path; would be nice to do this 55 - cmd: path %CONDA_INSTALL_LOCN%\Scripts;%PATH% 50 56 51 57 # Use the pre-installed Miniconda for the desired arch … … 56 62 # so that we can update it. Then we remove it so that 57 63 # we can do a proper activation. 58 - cmd: set "OLDPATH=%PATH%"59 - cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"60 64 - cmd: conda update --yes --quiet conda python 61 - cmd: set "PATH=%OLDPATH%"62 65 - cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat 63 64 - cmd: conda config --add channels conda-forge65 - cmd: conda config --set show_channel_urls true66 - cmd: conda update --yes --quiet conda67 - cmd: conda install --yes --quiet obvious-ci68 - cmd: conda install --yes --quiet numpy toolchain scipy cython cffi66 #- cmd: conda config --add channels conda-forge 67 #- cmd: conda config --set show_channel_urls true 68 #- cmd: conda install --yes --quiet obvious-ci 69 # 2018-01-19 PAK: skipping toolchain cython and cffi (these were for pyopencl?) 70 - cmd: conda install --yes --quiet numpy scipy 71 # 2018-01-19 PAK: skipping pyopencl; this would be needed for deploy but maybe not for test 69 72 #- cmd: conda install --yes --channel conda-forge pyopencl 73 # 2018-01-19 PAK: 3rd party packages might need msvc, so %CMD_IN_ENV% may be needed for pip 70 74 - cmd: pip install bumps unittest-xml-reporting tinycc 71 75 72 76 build_script: 73 77 # Build the project 74 - "%CMD_IN_ENV% python setup.py build" 78 # 2018-01-19 PAK: maybe need one of this if using msvc? 79 #- "%CMD_IN_ENV% python setup.py build" 80 #- cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd python setup.py build 81 - python setup.py build 75 82 76 83 test_script: 77 84 # Run the project tests 78 - "%CMD_IN_ENV% python -m sasmodels.model_test dll all" 85 # 2018-01-19 PAK: maybe need one of this if using msvc? 86 #- "%CMD_IN_ENV% python -m sasmodels.model_test dll all" 87 #- cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd python -m sasmoels.model_test dll all 88 - python -m sasmodels.model_test dll all
Note: See TracChangeset
for help on using the changeset viewer.