-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
50 lines (42 loc) · 865 Bytes
/
.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
language: python
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
python:
- "2.7"
- "3.5"
- "3.6"
# whitelist
branches:
only:
- master
- develop
env:
matrix:
- DATREANT_DEV="true"
- DATREANT_DEV="false"
matrix:
allow_failures:
- env: DATREANT_DEV="true"
# install python dependencies
install:
- pip install codecov
- pip install --upgrade pytest
- pip install pytest-cov
- pip install pytest-pep8
- pip install numpy numexpr Cython pandas h5py tables
- pip install MDAnalysisTests
- |
if [[ $DATREANT_DEV == 'true' ]]; then \
pip install git+https://github.com/datreant/datreant.core.git;\
fi
- pip install --process-dependency-links -e .
# run tests
script:
- py.test --cov src --pep8 src
# test conversion script
- mds_06to1 --help
after_success:
- codecov