forked from slok/ecs-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (27 loc) · 2.85 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
language: python
dist: trusty
sudo: required
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION: 1.16.1
# DOCKER_HUB_EMAIL
- secure: "XxqrJbrCbluza/CmGA2YliOhdzgwy60DAnK7+BBL9N80YHYhE6GOBu1SUFRieaNo7dShMUlnc2077cNQDHpH7Bb08TT18zUDfgGJ8XKEw87BW0h92M6mW71rZ0xPWXoDocgXUOCoQTOEvErrfMxHWXVgkl3UyI20xdAdqwUNyZbnYpAWYN5UC9w6g/k7L2yAKCPwtEcyoB/TtPyyXdMtfMUtxwCkja2X/2Vy9ZJHD9rkCk9Bw/SLSOyb2vYahC/oj5S470wKapmJcX3EnIpa7pEClXXDL9X0Ma0ZmpWr+zrrl40stqSYybhm7QP2OMsjQwPJHA1Url24w+sKgEyqTBznCsJTsUlefz7xilkL2UsxcTrwM2K4s16T7xHr7rS3n/K2DKyrM6DJet3Ecc3mdNgZA5QAwpI994ThaeuisOabCfQxuxw4j2dT1fjrDdT5bmhojahasX5kfx4QvDFkMIY8nCiB23SLVkPUH4+S6fmBkjXKPQzQNxY+qSiRp4QW9/SlMD1TloF4UPowBiPu5hAsd+Zzft94bojoHzs4b7RUyp83Huhd4MWmbUVjPH4mmE2MjeX3ItDxhChE0OuBHOlVigAPlSLf7mSV53mnpJ8BIqQjGe1O+xZtA+nmOqWiMbz+TVLZKs+DzHXN4bOqUgzZ0NYuxSR+55VgLvdG3tQ="
# DOCKER_HUB_USERNAME
- secure: "UK5/zEFMpz0vFq6Db0eXuu8zZ9jxeytM6J4EBBJDtoVcVXurpX1TvuMnRVmvFWnKgqUsKMP6u9KDT54bubQIeQGApBHLdHS3dzr8u0E5/Y11ik8X8eedKF+pkaAD3CVedaXdcHt1RQamxx7sDSg8B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o6X5rQQfZqyUIERsfd+CAP5b4HDbpMWFZlYLvGdPigqCDndq7eUNiuf0ikr2SppJxeYPPXEtVUkZArQmvJaZF8pCxQhvwA8iP9gCMVpBWYd7Vynute3T06qFueL1QiZVzkAnqW7JcQdYmoeI+VBVBeNytgOeLQw0U8="
before_install:
# Upgrade default docker-compose
- sudo rm -f /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
# Upgrade docker
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y install docker-ce
script:
- ./travis-build.sh