forked from dftbplus/hsd-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (35 loc) · 923 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
language: python
# Run jobs on container-based infrastructure, can be overridden per job
matrix:
include:
# Extra includes for OSX since python language is not available by default on OSX
- os: osx
language: generic
env: PYTHON_VER=3.6
- os: osx
language: generic
env: PYTHON_VER=3.7
# Pip can use Travis build-in Python
- os: linux
python: 3.6
- os: linux
dist: xenial # Travis Trusty image does not have Python 3.7, Xenial does
python: 3.7
before_install:
# Additional info about the build
- uname -a
- df -h
- ulimit -a
# Install the Python environment
- source devtools/travis-ci/before_install.sh
- python -V
install:
# Install the package locally
- pip install -U pytest pytest-cov codecov
- pip install -e src/
script:
- pytest -v --cov=hsd test/
notifications:
email: false
after_success:
- codecov