-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
45 lines (39 loc) · 2.02 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
45
# .travis.yml
language: python
python:
- 3.5
- 3.6
cache:
directories:
- $HOME/.cache/pip
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853
env:
global:
# Doctr deploy key for rgiordan/paragami
- secure: "ZgfHS4nRfO3up51UZgaw/hjshO8md5gRer2wGKUuOyWolSiCvLNkk3yBmsw8CR+ZmGwzCNoBWGz9rwGrSWn+Awbn37CTXJ7jrIYyBPsdbrocnfBbc04kzUfchr1Y35Hyvyntk3N1tMUJqsRNhAfk/YaG7i22z5kfhOqb/blZn8sDRfYYrQvqeo6EpjDd9HRjRCh0cadMIU6RrgxMoJ3FYtqwmvmpIYxl/iZl0ZzeZ0p3M8t5IhKuXXBfy0yCp0a3Ja+oMoMUE81p0bJHCdgEKQxc2SjHxcnfoFW5jvhIkq4HI0gWMpMpvVkfaibn3xdTvxh0/7FMhkek3Wf8hVKPpgTARzrXZ2TGWqlNaad2i0veR/IaOtnb2WrDfSzROQue/DBBFqKonb9BWRRXQbgxmoJJi8NVWkXSb+GN/r9QklaIAWsEqoXBOndeKrjXUPp/e2BlrglxHS9zj4OB4mpUJ2Mr3iRxfQHiQ9Ukie6oVUPKX7E/hP25jZ4Hhj61T4Teo4EMCKlyFQ90jbz2u2zN8Lyw8QRlmH4S0QIOdRz5uyzsV64MKyX0PnjuqltRJk5fnv8B7TdnCAyjWiRiqm94o+QTpGVAQOc1N32oqIrAPzrGi1aQ3l7VkS/o8Is97lEuBNzRdN45EEsR5dHv5Bkj/WSECYo3cN8Djy2p+XGgUAc="
notifications:
email:
recipients:
on_success: never # default: change
on_failure: always # default: always
before_install:
- sudo apt-get install -y libsuitesparse-dev
- pip install --upgrade pip>19
- pip install numpy # Needed for https://github.com/scikit-sparse/scikit-sparse/issues/55
install:
# Install this package and the packages listed in requirements.txt.
- pip install . #--process-dependency-links
# Install extra requirements for running tests and building docs.
- pip install -r requirements-dev.txt
script:
- coverage run --include='paragami/[A-Za-z]*.py' -m pytest
#- coverage run -m pytest # Run the tests and check for test coverage.
- coverage report -m # Generate test coverage report.
- codecov # Upload the report to codecov.
#- flake8 --max-line-length=115 # Enforce code style (but relax line length limit a bit).
# doctr -- didn't work very well, incredibly hard to search for on Google.
#- set -e
#- make -C docs html # Build the documentation.
#- pip install doctr
#- doctr deploy --built-docs docs/build/html docs/