forked from kdesimone/popeye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
43 lines (41 loc) · 1.22 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Customize the test machine on circleci
machine:
timezone:
America/New_York
python:
version:
2.7.9
environment:
CIRCLE_ENV: test
COVERAGE: 1
COVERALLS_REPO_TOKEN: DoqUKyhEKXo6d8DS0y2Bs3klwdzhnz51y
## Customize dependencies
dependencies:
pre:
- pip install --upgrade pip
- pip install nose
- pip install pillow
- pip install 'numpy==1.11'
- pip install nibabel
- pip install cython
- pip install scipy
- pip install sphinx
- pip install matplotlib
- pip install sharedmem
- pip install statsmodels
- pip install codecov
- pip install numexpr
- if [ "${COVERAGE}" == "1" ];then pip install coverage;pip install coveralls;fi
- sudo mkdir tests_dir
- sudo cp .coveragerc tests_dir/.coveragerc
## Customize the tests
test:
pre:
- if [ "${COVERAGE}" == "1" ];then COVER_ARGS="--with-coverage --cover-package popeye";fi
override:
- nosetests --with-doctest --verbose $COVER_ARGS popeye:
pwd:
tests_dir
post:
- coveralls
- bash <(curl -s https://codecov.io/bash)