-
Notifications
You must be signed in to change notification settings - Fork 335
/
.travis.yml
55 lines (47 loc) · 1.18 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
54
55
language: python
# We need docker for our scripts that test various installations
services:
- docker
# Allow cache of downloads
cache: pip
jobs:
include:
# Test suite with different python versions
- python: "2.7"
env: TEST_SUITE=UNIT-TEST
- python: "3.4"
env: TEST_SUITE=UNIT-TEST
- python: "3.5"
env: TEST_SUITE=UNIT-TEST
- python: "3.6"
env: TEST_SUITE=UNIT-TEST
- python: "3.7"
env: TEST_SUITE=UNIT-TEST
- python: "3.8"
env: TEST_SUITE=UNIT-TEST
- python: "3.9"
env: TEST_SUITE=UNIT-TEST
# Installation tests with various distributions
- python: "3.9"
env:
- TEST_SUITE=CENTOS
- TEST_SUITE=DEBIAN
- TEST_SUITE=FEDORA
- TEST_SUITE=OTHER
- TEST_SUITE=UBUNTU
# command to install dependencies
# some are only used for travis/coveralls so we are installing them here only
#install:
# - ./test/setup_test.sh
# command to run tests
before_install:
- sudo apt-get install debianutils
addons:
apt:
update: true
script:
- chmod a+x test/*sh test/*py
- test/test_suite.sh
# specific call to launch coverage data into coveralls.io
#after_success:
# coveralls