[ci] switch circleci to pytest
authorPaul Brossier <piem@piem.org>
Fri, 2 Nov 2018 17:17:57 +0000 (18:17 +0100)
committerPaul Brossier <piem@piem.org>
Fri, 2 Nov 2018 17:17:57 +0000 (18:17 +0100)
.circleci/config.yml

index 81a685e..eb00738 100644 (file)
@@ -19,16 +19,16 @@ install-wheel: &install-wheel
   command: |
     pip install --user dist/aubio*.whl
 
-test-nose2: &test-nose2
+test-pytest: &test-pytest
   name: Test python wheel
   command: |
     make create_test_sounds
-    PATH=/home/circleci/.local/bin:$PATH nose2 -v
+    PATH=/home/circleci/.local/bin:$PATH pytest -v
 
-test-nose2-nosounds: &test-nose2-nosounds
+test-pytest-nosounds: &test-pytest-nosounds
   name: Test python wheel
   command: |
-    PATH=/home/circleci/.local/bin:$PATH nose2 -v
+    PATH=/home/circleci/.local/bin:$PATH pytest -v
 
 uninstall-wheel: &uninstall-wheel
   name: Uninstall python wheel
@@ -47,7 +47,7 @@ jobs:
       - run: *pip-install
       - run: *build-wheel
       - run: *install-wheel
-      - run: *test-nose2
+      - run: *test-pytest
       - run: *uninstall-wheel
       - store_artifacts:
           path: dist/
@@ -61,7 +61,7 @@ jobs:
       - run: *pip-install
       - run: *build-wheel
       - run: *install-wheel
-      - run: *test-nose2
+      - run: *test-pytest
       - run: *uninstall-wheel
       - store_artifacts:
           path: dist/
@@ -75,7 +75,7 @@ jobs:
       - run: *pip-install
       - run: *build-wheel
       - run: *install-wheel
-      - run: *test-nose2
+      - run: *test-pytest
       - run: *uninstall-wheel
       - store_artifacts:
           path: dist/
@@ -88,7 +88,7 @@ jobs:
       - run: *pip-install
       - run: *build-wheel
       - run: *install-wheel
-      - run: *test-nose2-nosounds
+      - run: *test-pytest-nosounds
       - run: *uninstall-wheel
       - store_artifacts:
           path: dist/