forked from astrofrog/psrecord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 910 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
language: c
os:
- linux
- osx
env:
matrix:
- PYTHON_VERSION=2.7 PSUTIL_VERSION=1
- PYTHON_VERSION=2.7 PSUTIL_VERSION=2
- PYTHON_VERSION=2.7 PSUTIL_VERSION=3
- PYTHON_VERSION=3.4 PSUTIL_VERSION=4
- PYTHON_VERSION=3.5 PSUTIL_VERSION=5
- PYTHON_VERSION=3.6 PSUTIL_VERSION=5
- PYTHON_VERSION=3.7 PSUTIL_VERSION=5
global:
- CONDA_DEPENDENCIES='matplotlib psutil'
- PIP_DEPENDENCIES='codecov pytest-cov'
- SETUP_XVFB=True
before_install:
# Make sure we can get the version without any dependencies installed
- python setup.py --version
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
script:
- py.test --cov psrecord psrecord
- python setup.py check --restructuredtext
- pip install flake8
- flake8 psrecord
after_success:
- codecov