Skip to content
Snippets Groups Projects
Commit 3af731a6 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'pip' into 'master'

[conda] use pip to install package

See merge request !133
parents 112a7763 32411a2d
Branches
Tags v0.1.2
1 merge request!133[conda] use pip to install package
Pipeline #54700 passed
...@@ -12,14 +12,15 @@ build: ...@@ -12,14 +12,15 @@ build:
script: script:
- cd {{ project_dir }} - cd {{ project_dir }}
{% if environ.get('BUILD_EGG') %} {% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip - "{{ PYTHON }} setup.py sdist --formats=zip"
{% endif %} {% endif %}
- python setup.py install --single-version-externally-managed --record record.txt - "{{ PYTHON }} -m pip install . -vv"
requirements: requirements:
host: host:
- python {{ python }} - python {{ python }}
- setuptools {{ setuptools }} - setuptools {{ setuptools }}
- pip {{ pip }}
- click >=8 - click >=8
- click {{ click }} - click {{ click }}
- click-plugins {{ click_plugins }} - click-plugins {{ click_plugins }}
...@@ -33,6 +34,7 @@ test: ...@@ -33,6 +34,7 @@ test:
imports: imports:
- {{ name }} - {{ name }}
commands: commands:
- pip check
- bob -h - bob -h
- bob --help - bob --help
- bob config -h - bob config -h
...@@ -45,6 +47,7 @@ test: ...@@ -45,6 +47,7 @@ test:
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx] - conda inspect objects -p $PREFIX {{ name }} # [osx]
requires: requires:
- pip {{ pip }}
- nose {{ nose }} - nose {{ nose }}
- coverage {{ coverage }} - coverage {{ coverage }}
- sphinx {{ sphinx }} - sphinx {{ sphinx }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment