summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 50f7fa6373863b46d2cea4d6742b92373dfd17fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
sudo: required

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.23.2
  COMPOSE_FILE: ./output/local/docker-compose.yml

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
    - sudo rm /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
    - ./lavalab-gen.sh 
    - docker-compose up -d