This repository was archived by the owner on Feb 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
64 lines (61 loc) · 1.41 KB
/
.travis.yml
File metadata and controls
64 lines (61 loc) · 1.41 KB
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
language: generic
os: linux
dist: bionic
sudo: required
services:
- docker
# Required environment variables:
# DOCKER_USERNAME: the username of the Docker Hub account used to push images
# DOCKER_PASSWORD: base64-encoded password of the Docker Hub user
jobs:
include:
# Build multiple containers
- name: "Debian test"
os: linux
stage: test
env: CACHE_NAME=DEBIAN
script: ./build.sh debian
- name: "Fedora test"
os: linux
stage: test
env: CACHE_NAME=FEDORA
script: ./build.sh fedora
- name: "Ubuntu test"
os: linux
stage: test
env: CACHE_NAME=UBUNTU
script: ./build.sh ubuntu
- name: "CentOS test"
os: linux
stage: test
env: CACHE_NAME=CENTOS
script: ./build.sh centos
- name: "Debian upload"
os: linux
stage: deploy
env: CACHE_NAME=DEPLOY-DEBIAN
script: ./publish.sh debian
- name: "Fedora upload"
os: linux
stage: deploy
env: CACHE_NAME=DEPLOY-FEDORA
script: ./publish.sh fedora
- name: "Ubuntu upload"
os: linux
stage: deploy
env: CACHE_NAME=DEPLOY-UBUNTU
script: ./publish.sh ubuntu
- name: "CentOS upload"
os: linux
stage: deploy
env: CACHE_NAME=DEPLOY-CENTOS
script: ./publish.sh centos
notifications:
email:
recipients:
- razican@protonmail.ch
- brunoop@protonmail.ch
- sergiodlo@protonmail.com
- jaimesr@protonmail.ch
on_success: change
on_failure: always