forked from zatosource/zato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·44 lines (38 loc) · 1.2 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
language: python
cache:
directories:
- /tmp/travis-cache
# List of environment variable combinations to test against (first dimension)
# https://zato.io/docs/admin/guide/install/index.html#operating-system-considerations
env:
# For later use with matrix.include later and OS X.
#- MODE=packaging IMAGE=
- MODE=packaging IMAGE=centos:7
- MODE=packaging IMAGE=centos:7 PY_VERSION=python3
- MODE=packaging IMAGE=ubuntu:16.04
- MODE=packaging IMAGE=ubuntu:16.04 PY_VERSION=python3
- MODE=packaging IMAGE=ubuntu:18.04
- MODE=packaging IMAGE=ubuntu:18.04 PY_VERSION=python3
- MODE=packaging IMAGE=debian:8
- MODE=packaging IMAGE=debian:8 PY_VERSION=python3
- MODE=packaging IMAGE=debian:9
- MODE=packaging IMAGE=debian:9 PY_VERSION=python3
- MODE=packaging IMAGE=alpine:3.11
- MODE=packaging IMAGE=alpine:3.11 PY_VERSION=python3
# List of operating systems to test under (second dimension)
# https://docs.travis-ci.com/user/reference/overview/
sudo: required
os:
- linux
#- osx
services:
- docker
# List of matrix exclusions
matrix:
allow_failures:
# Don't fail the build for a problem with OS X
- osx
notifications:
email: false
script:
- source .travis/test_${MODE}.sh