forked from silx-kit/fabio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 838 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
language: python
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
include:
- python: 2.7
os: linux
- python: 3.4
os: linux
- python: 3.5
os: linux
- python: 3.6
os: linux
- python: 3.7
dist: xenial
# command to install dependencies
install:
# Upgrade distribution modules
- "python -m pip install --upgrade pip"
- "pip install --upgrade setuptools"
- "pip install --upgrade wheel"
# Install build dependencies
- "pip install -r ci/requirements_travis.txt --upgrade"
# Print Python info
- "python ci/info_platform.py"
- "pip list"
# Generate source package or wheel
- "python setup.py build bdist_wheel"
- "pip install ."
# command to run tests
script:
- "python setup.py build test"
- "python ./run_tests.py --installed"