-
Notifications
You must be signed in to change notification settings - Fork 53
/
.travis.yml
44 lines (39 loc) · 1.35 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
# The configurations you want to execute
# That is, a combination of operating system and python version
# Please add or remove for your needs.
# Check all possible values for python in here: https://docs.travis-ci.com/user/languages/python/
# See how to further configure the matrix of combinations in here: https://docs.travis-ci.com/user/multi-os/
language: python
sudo: require
matrix:
include:
# - os: linux
# python: 2.7
# - os: osx
# language: generic
# env: PYTHON=2.7
- os: linux
python: 3.6
# - os: osx
# language: generic
# env: PYTHON=3.4.6
# Command to install dependencies for each configuration.
before_install:
# # For OSX, you may want to call a script installing virtual env and so on.
- . ./scripts/install.sh
install:
- python -m pip install -U pip
- python -m easy_install -U setuptools
- pip install -U pytest
- pip install pytest-cov
- pip install coveralls
# - pip install sphinx
- pip install -e .['zonotope','trees']
# Command to run tests. These are run for each configuration
script:
- python --version
- python tests.py # from https://github.com/bhargavvader/pycobra/
- coverage
# - cd docs && make html && make doctest SPHINXOPTS=-W #Make doctest treat warnings as errors, to detect problems in autodoc
after_success:
- coveralls