-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
89 lines (79 loc) · 1.88 KB
/
.travis.yml
File metadata and controls
89 lines (79 loc) · 1.88 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
language: erlang
env:
global:
- KERL_BUILD_BACKEND=git
jobs:
include:
# dist: xenial
# group: edge
# name: xenial
- dist: bionic
name: bionic
- dist: focal
name: focal
- dist: jammy
name: jammy
- dist: noble
name: noble
- dist: bionic
arch: ppc64le
name: bionic-ppc64le
- dist: focal
arch: ppc64le
name: focal-ppc64le
- dist: jammy
arch: ppc64le
name: jammy-ppc64le
- dist: noble
arch: ppc64le
name: noble-ppc64le
- dist: bionic
arch: arm64
name: bionic-arm64
- dist: focal
arch: arm64
name: focal-arm64
- dist: jammy
arch: arm64
name: jammy-arm64
- dist: noble
arch: arm64
name: noble-arm64
# - dist: xenial
# arch: s390x
# name: s390x-xenial
- dist: bionic
arch: s390x
name: bionic-s390x
- dist: focal
arch: s390x
name: focal-s390x
- dist: jammy
arch: s390x
name: jammy-s390x
- dist: noble
arch: s390x
name: noble-s390x
before_install:
- export OS_NAME=$(lsb_release -is | tr "A-Z" "a-z" || echo "osx")
- export RELEASE=$(lsb_release -rs 2>/dev/null || sw_vers -productVersion | sed 's/^\([0-9][0-9]*.[0-9][0-9]*\).*/\1/')
- export TARGET_DIR=${TRAVIS_BUILD_DIR}/${OS_NAME}/${RELEASE}/$(uname -m)
- export VERSION=${VERSION:-21.2}
- mkdir -p ${TARGET_DIR}
install:
- |
if ! command -v kerl >&/dev/null; then
curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
chmod +x kerl
sudo mv kerl /usr/local/bin/kerl
fi
sudo curl -o `which kerl` https://raw.githubusercontent.com/yrashk/kerl/master/kerl
script: ./bin/compile
after_success: ./bin/archive
addons:
artifacts:
paths:
- "${OS_NAME}"
target_paths:
- "/binaries/${OS_NAME}/${LSB_RELEASE}/${ARCH}"