This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (33 loc) · 1.46 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
language: minimal
dist: bionic
env:
global:
- IMAGE_NAME=xtermi2/sec-elasticsearch-prometheus
services:
- docker
install:
- docker build --build-arg VCS_REF=$TRAVIS_COMMIT --build-arg BUILD_DATE=`date --iso-8601=seconds` -t $IMAGE_NAME:latest --no-cache .
before_script:
- sudo apt-get install -y jq
- sudo sysctl -w vm.max_map_count=262144
script:
- ./src/test/test.sh
after_script:
- docker inspect $IMAGE_NAME
#deploy:
# - provider: script
# on:
# all_branches: true
# tags: true
# repo: $IMAGE_NAME
# skip_cleanup: true
# script: bash deployToDockerhub.sh "$TRAVIS_TAG" "$IMAGE_NAME"
# - provider: releases
# on:
# all_branches: true
# tags: true
# repo: $IMAGE_NAME
# skip_cleanup: true
# api_key:
# secure: jroBPs0YGEkPfxfv7xtzkLV6T/q0nPdvp5/un1U/LrviBQejKfnFDLVriOxLdxLjEqWvIvtzIbuk4QaKQIyV3G72JBnioZf3L4MdIfjc8JPq+8Lxwr1OLE5ez7apmGv/sA4A/tECQdEmcp0jm5VUpFaWBDXtRyL3mbLzrNEqWqcjmk6VkxSUEZny46LpY/DuBvXy1CZijMSp6ESuJtku+dyRBpUe/YSAcYqwX0p+yFjIjT9ovaWVBjHXwoV9i92zXeUKA2v9u0rZRcWzyDTrWpfJwEZ3jKi+xGZEF3o0BXJrpdMVktjcPXwkLlEdXmDmyXOcRHzxHafqW7APG+A2sbxCknNR1k+ty27sdJ1bo8MDBsD99iSJua9z07Pw0S85MqX2FldPxo53yA5PVYr4xJfG2r5/15z6NBfltey+TmKfef+dhkkoGjrhiavsAPI48hDD2wc74yTfbdbP1GRLXhiLqA/TP+TxbJDFC6vXjfvI1eMQK56ab+KqO9odBonLFG2h1KZGXSWsxwd2Y13XzyiiA8ILTNKoHgzeDgzM21873Gokk5qH9CCcYrTzmK/H3RZ5q3UPcKCDNBvvO2Cfu6Wz+r/wuYsn5lAofeuZbL6gFG1SM3uFA50wIx7yiORa5yjfdgmrJ9xQKa3BrY82jYNcfGeDB1HGUGnzHhyLrMI=
# draft: false