-
Notifications
You must be signed in to change notification settings - Fork 339
/
.travis.yml
57 lines (48 loc) · 1.14 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
56
57
language: python
# We need docker for our scripts that test various installations
services:
- docker
# Allow cache of downloads
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
# 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
env:
# Python:
- TEST_SUITE=UNIT-TEST
# Then installations on various distro
- TEST_SUITE=CENTOS
- TEST_SUITE=DEBIAN
- TEST_SUITE=FEDORA
- TEST_SUITE=OTHER
- TEST_SUITE=UBUNTU
before_install:
- sudo apt-get -y install python-setuptools
- sudo apt-get -y install python3-setuptools
- sudo apt-get -y install python-pycurl
- sudo apt-get -y install python3-pycurl
- sudo apt-get -y install python-nose
- sudo apt-get -y install python3-nose
- sudo apt-get -y install python-pip
- sudo apt-get -y install python3-pip
- sudo apt-get -y install libgnutls-dev
addons:
apt:
update: true
script:
- cd test
- chmod a+x *sh *py
- ./test_suite.sh
# specific call to launch coverage data into coveralls.io
#after_success:
# coveralls