feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since 91ac33f was
91ac33f,
checked in by Paul Brossier <piem@piem.org>, 6 years ago
|
.circleci/config.yml: install pip requirements
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[73f02cc] | 1 | apt-run: &apt-install |
---|
| 2 | name: Install apt packages |
---|
| 3 | command: | |
---|
[f70e181] | 4 | sudo apt-get update |
---|
| 5 | sudo apt-get -y install make sox pkg-config libavcodec-dev libavformat-dev libavresample-dev libavutil-dev libsndfile1-dev libsamplerate-dev |
---|
[73f02cc] | 6 | |
---|
[91ac33f] | 7 | pip-install: &pip-install |
---|
| 8 | name: Install pip dependencies |
---|
| 9 | command: | |
---|
| 10 | pip install -r requirements.txt |
---|
| 11 | |
---|
[73f02cc] | 12 | build-wheel: &build-wheel |
---|
| 13 | name: Build python wheel |
---|
| 14 | command: | |
---|
| 15 | pip wheel -v -v -v --wheel-dir=dist . |
---|
| 16 | |
---|
| 17 | install-wheel: &install-wheel |
---|
| 18 | name: Build python wheel |
---|
| 19 | command: | |
---|
| 20 | pip install dist/aubio*.whl |
---|
| 21 | |
---|
| 22 | test-nose2: &test-nose2 |
---|
| 23 | name: Test python wheel |
---|
| 24 | command: | |
---|
| 25 | make create_test_sounds |
---|
| 26 | nose2 -v |
---|
| 27 | |
---|
| 28 | version: 2 |
---|
| 29 | jobs: |
---|
| 30 | build: |
---|
| 31 | docker: |
---|
[a4aa960] | 32 | - image: circleci/python:2.7 |
---|
| 33 | - image: circleci/python:3.6 |
---|
[73f02cc] | 34 | steps: |
---|
| 35 | - checkout |
---|
| 36 | - run: *apt-install |
---|
[91ac33f] | 37 | - run: *pip-install |
---|
[73f02cc] | 38 | - run: *build-wheel |
---|
| 39 | - run: *install-wheel |
---|
| 40 | - run: *test-nose2 |
---|
| 41 | - store_artifacts: |
---|
| 42 | path: dist/ |
---|
| 43 | |
---|
| 44 | workflows: |
---|
| 45 | version: 2 |
---|
| 46 | |
---|
| 47 | test-wheel: |
---|
| 48 | jobs: |
---|
| 49 | - build |
---|
Note: See
TracBrowser
for help on using the repository browser.