Skip to content

Commit

Permalink
Merge branch 'garth/feature-circle-ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jun 25, 2017
2 parents 0b350d4 + 35bb997 commit a0b3d73
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:2.7
- image: circleci/python:3.6
- image: circleci/python:3.6
working_directory: ~/ufl-test
steps:
- checkout
- run:
name: Install UFL
command: pip install .
name: Install dependencies # Install with sudo as tests not run as superuser in circleci/python
command: sudo pip install flake8 numpy pytest six --upgrade
- run:
name: Install pytest and flake8
command: pip install pytest flake8 --upgrade
name: Install UFL
command: pip install --user .
- run:
name: Run flake8 tests
command: python3 -m pytest test/
command: python -m flake8 .
- run:
name: Run unit tests
command: python3 -m pytest -v test/
command: python -m pytest --junitxml=test-output test/
- store_test_results:
path: test-output/

0 comments on commit a0b3d73

Please sign in to comment.