-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (59 loc) · 2.02 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
58
59
60
61
62
63
64
65
66
67
68
69
70
sudo: required
services:
- docker
branches:
only:
- master
# git:
# submodules:
# false
before_install:
- chmod a+x ./.travis/before_install.sh
- ./.travis/before_install.sh
install:
- chmod a+x ./.travis/install.sh
- ./.travis/install.sh
before_script:
- chmod a+x ./unittest.sh
# script:
# - chmod a+x ./unitest.sh
# - bash ./unittest.sh --build --verbose --cleanup
jobs:
include:
- stage: test
name: "Base Minimal"
script: ./unittest.sh --build debian-stretch-minimal --verbose --cleanup
- stage: test
name: "Makepasswd"
script: ./unittest.sh --build debian-stretch-makepasswd --verbose --cleanup
- stage: test
name: "OpenSSH"
script: ./unittest.sh --build debian-stretch-openssh --verbose --cleanup
- stage: test
name: "NodeJS"
script: ./unittest.sh --build debian-stretch-nodevnc --tag=latest --verbose --cleanup
- stage: test
name: "Python 3.5.6"
script: ./unittest.sh --build debian-stretch-python --tag=3.5.6 --verbose --cleanup --args="version=3.5.6 keyserver=eu.pool.sks-keyservers.net"
- stage: test
name: "Python 3.6.8"
script: ./unittest.sh --build debian-stretch-python --tag=3.6.8 --verbose --cleanup --args="version=3.6.8 keyserver=eu.pool.sks-keyservers.net"
- stage: test
name: "Python 3.7.2"
script: ./unittest.sh --build debian-stretch-python --tag=3.7.2 --verbose --cleanup --args="version=3.7.2 keyserver=eu.pool.sks-keyservers.net"
# only execute the following instructions in
# the case of a success (failing at this point
# won't mark the build as a failure).
# To have `DOCKER_USERNAME` and `DOCKER_PASSWORD`
# filled you need to either use `travis`' cli
# and then `travis set ..` or go to the travis
# page of your repository and then change the
# environment in the settings pannel.
#after_success:
# - if [[ "$TRAVIS_BRANCH" == "master" ]]; then
# docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
# make push-image ;
# fi
# don't notify me when things fail
notifications:
email: false