-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
55 lines (40 loc) · 1.07 KB
/
.travis.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
44
45
46
47
48
49
50
51
52
53
54
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
# Run jobs on container-based infrastructure, can be overridden per job
sudo: false
python:
- 2.7
- 3.5
- 3.6
before_install:
# Additional info about the build
- uname -a
- free -m
- df -h
- ulimit -a
# Setup python environment
- source devtools/travis-ci/before_install.sh
- python -V
install:
# Create test environment for package
- conda create -q -n dqm_env python=$PYTHON_VER numpy nomkl pandas pytables numexpr scipy
- source activate dqm_env
# Install anything not in conda
- pip install pint
- pip install pytest pytest-cov codecov
- pip install nbval
# Build and install package
- pip install -e .
# Conda build to do later
# - conda build --python=$PYTHON_VER devtools/conda-recipe
# - conda install --yes --use-local project_name
before_script:
# List out the packages
- conda list
script:
- py.test -v --cov=eex/ --durations=5 --nbval-lax --current-env
notifications:
email: false
after_success:
- codecov