-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (28 loc) · 859 Bytes
/
.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: ruby
dist: trusty
sudo: required
group: edge
services:
- docker
git:
depth: 1
env:
global:
- DOCKER_REPO=aureliend/cloud-ci
# DOCKER_USERNAME and DOCKER_PASSWORD are set with Travis CLI (see repo settings)
# https://docs.travis-ci.com/user/customizing-the-build
# https://docs.travis-ci.com/user/docker/
# With the new Travis trusty image, the docker version is good (17.03.1)
# before_install:
# - 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
install:
- docker --version
script:
- make -B all
after_success:
- docker images
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- make -B pushdocker