forked from lmfit/uncertainties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 1014 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
# Config file for automatic testing at travis-ci.org
language: python
# Workaround for being able to use Python 3.7 (2019-03)
sudo: required
os: linux
dist: xenial
jobs:
include:
- python: "2.7"
env: DEPS="numpy nose"
# As of 2018-10, Travis has installation problems with the DEPS below, so Python 3.3 is not tested anymore:
#- python: "3.3"
# env: DEPS="numpy nose"
- python: "3.4"
env: DEPS="numpy nose"
- python: "3.5"
env: DEPS="numpy nose"
- python: "3.6"
env: DEPS="numpy nose"
- python: "3.7"
env: DEPS="numpy nose"
- python: "3.8"
env: DEPS="numpy nose"
- python: "3.9"
env: DEPS="numpy nose"
before_install:
- pip install setuptools --upgrade
- pip install pip --upgrade
- pip install $DEPS
- pip install codecov
script:
- python setup.py egg_info
- python setup.py nosetests -sv --with-coverage
# Generate documentation
#- cd doc
#- make html
after_success:
- codecov