forked from mattloper/chumpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mattloper#27 from metabolize/circle2-2
Upgrade to Circle 2 (mattloper#4)
- Loading branch information
Showing
2 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.