Skip to content

Commit

Permalink
Merge pull request mattloper#27 from metabolize/circle2-2
Browse files Browse the repository at this point in the history
Upgrade to Circle 2 (mattloper#4)
  • Loading branch information
mattloper authored Sep 19, 2019
2 parents a3cfdb1 + beee628 commit 52ca0fa
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 18 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
jobs:
build:
docker:
- image: circleci/python:2

working_directory: ~/repo

steps:
- checkout

- run:
name: Install container dependencies
command: |
sudo apt-get update
sudo apt-get install -qq gfortran liblapack-dev
- run:
name: Install python dependencies
command: |
mkdir -p venv
virtualenv venv
. venv/bin/activate
# Hack to disable the progress bar
set -o pipefail; pip install -r requirements.txt | cat
- run:
name: Show versions
command: |
. venv/bin/activate
pip freeze
- run:
name: Run tests
command: |
. venv/bin/activate
make test
18 changes: 0 additions & 18 deletions circle.yml

This file was deleted.

0 comments on commit 52ca0fa

Please sign in to comment.