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