-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml.old
39 lines (29 loc) · 981 Bytes
/
.travis.yml.old
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
dist: trusty
sudo: required
language: minimal
services:
- docker
env:
- DOCKER_COMPOSE_VERSION=1.19.0
addons:
apt:
packages:
- docker-ce
before_install:
- sudo rm -rf /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/
- sudo apt-get -q update
- sudo apt-get install -qy make apt-transport-https ca-certificates curl software-properties-common jq
before_script:
- uname -a
- type -a docker-compose && docker-compose version
- docker version
script:
- git fetch && git tag -l
- make frontend-docker-check ||
make build backend-docker-check up &&
if [[ ( "$TRAVIS_PULL_REQUEST" = "false" ) && ( ( "$TRAVIS_BRANCH" == "master" ) || ( "$TRAVIS_BRANCH" == "dev" ) ) ]]; then
make frontend-docker-push GIT_BRANCH="$TRAVIS_BRANCH";
fi