Remove support for Python 2.
version: 2
+
+
jobs:
check-codestyle:
docker:
@@ -71,49 +73,6 @@ jobs:
- store_test_results:
path: test-reports
- test-python-2:
- docker:
- - image: hungpham2511/toppra-dep:0.0.3
-
- working_directory: ~/repo
-
- steps:
- - checkout
- - restore_cache:
- keys:
- - v1-dependencies2-{{ checksum "requirements.txt" }}
-
- - run:
- name: install dependencies
- command: |
- python -m pip install virtualenv --user
- python -m virtualenv venv && . venv/bin/activate
- python -m pip install invoke pathlib2 numpy cython
- python -m invoke install-solvers
- pip install -e .[dev]
-
- - save_cache:
- paths:
- - ./venv
- key: v1-dependencies2-{{ checksum "requirements.txt" }}
-
- - run:
- name: test
- command: |
- . venv/bin/activate
- export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`
- mkdir test-reports
- pytest --durations=3 --junitxml=test-reports/junit.xml
-
- - run:
- name: Collect log data
- command: |
- cp /tmp/toppra.log ~/repo/test-reports/
-
- - store_test_results:
- path: test-reports
- destination: test-reports
-
pre-release:
docker:
- image: buildpack-deps:trusty
@@ -149,9 +108,9 @@ workflows:
version: 2
test-and-lint:
jobs:
- - test-python-2
- test-python-3
- check-codestyle
+
release:
jobs:
- pre-release:
