8000 Modify travis build to test conda recipe · basicmachines/python-control@4a35d46 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a35d46

Browse files
committed
Modify travis build to test conda recipe
1 parent 6d33754 commit 4a35d46
< 8000 div class="prc-PageLayout-Pane-Vl5LI" data-resizable="true" style="--spacing:var(--spacing-normal);--pane-min-width:256px;--pane-max-width:calc(100vw - var(--pane-max-width-diff));--pane-width-size:var(--pane-width-medium);--pane-width:296px">

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ before_install:
2121
- hash -r
2222
- conda config --set always_yes yes --set changeps1 no
2323
- conda update -q conda
24+
- conda install --yes python=$TRAVIS_PYTHON_VERSION conda-build pip coverage
2425
- conda info -a
25-
- python make_version.py
2626

2727
# Install packages
2828
install:
29-
- conda install --yes python=$TRAVIS_PYTHON_VERSION coverage nose numpy scipy matplotlib pip
29+
- conda build conda-recipe
30+
- conda install control --use-local
3031
- pip install coveralls
3132
- pip install slycot
3233

conda-recipe/meta.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ build:
1010
requirements:
1111
build:
1212
- python
13+
- nose
1314

1415
run:
1516
- python
@@ -18,9 +19,6 @@ requirements:
1819
- matplotlib
1920

2021
test:
21-
requires:
22-
- nose
23-
2422
imports:
2523
- control
2624

0 commit comments

Comments
 (0)
0