Upgrading to python3 (#60)

* Migrating to python 3.7.2, but docker image is not working properly.

Need to continue investigating why it's not properly running.

* Trying to fix the build and fixing logging in the scheduler initialization.

* Trying to fix the build

* Collecting test results

* Fixing the dockerfile

* Updating the development dependencies
This commit is contained in:
mtakaki
2019-02-22 02:17:13 -08:00
committed by GitHub
parent ea4b8ccd4e
commit 10e0141454
11 changed files with 44 additions and 34 deletions

View File

@@ -8,7 +8,7 @@ jobs:
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:2.7
- image: circleci/python:3.7.2
working_directory: ~/repo
@@ -25,10 +25,11 @@ jobs:
- run:
name: install dependencies
command: |
sudo pip install virtualenv
sudo pip3 install virtualenv
virtualenv .
source bin/activate
pip install -r dev_requirements.txt
pip3 install -r dev_requirements.txt
python3 setup.py install
- save_cache:
paths:
@@ -39,7 +40,10 @@ jobs:
name: run tests
command: |
. bin/activate
py.test tests
py.test tests --junitxml=test-reports/junit.xml
- store_test_results:
path: test-reports
- store_artifacts:
path: test-reports