forked from scikit-hep/iminuit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (47 loc) · 1.15 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
46
47
48
49
50
51
52
53
language: python
dist: xenial
# master is tested by Azure
branches:
only:
- develop
cache:
pip: true
directories:
- pypy3.6
matrix:
include:
# main build where everything is tested and code coverage is generated
- name: "3.7: test, doc, coverage"
python: 3.7
install:
pip install --upgrade cython numpy pytest matplotlib scipy ipython sphinx sphinx_rtd_theme jupyter pytest-cov codecov
script:
COVERAGE=1 make cov &&
make test-notebooks &&
make doc &&
codecov
- name: "osx: test"
os: osx
language: sh
install:
pip install --user --upgrade cython numpy pytest matplotlib scipy
script:
make test
- name: "pypy3.6: test"
language: sh
install:
source .ci/install_pypy3.6.sh
script:
make test
## sdist tests are now done by Azure
# - name: "2.7: sdist"
# python: 2.7
# script: .ci/travis_sdist_test.sh
#
# - name: "3.6: sdist"
# python: 3.6
# script: .ci/travis_sdist_test.sh
#
# - name: "3.7: sdist"
# python: 3.7
# script: .ci/travis_sdist_test.sh