diff options
author | Alice Ferrazzi <alice.ferrazzi@cybertrust.co.jp> | 2019-02-26 06:11:11 +0000 |
---|---|---|
committer | Alice Ferrazzi <alice.ferrazzi@cybertrust.co.jp> | 2019-02-26 06:27:48 +0000 |
commit | e83393eab386fadc2bc6dab79cde3ff8d619a54d (patch) | |
tree | fd6669d0853718d9b08d83da9d61c5d993e8bb8e | |
parent | 31d0a888ee944ac0f8c0418dff942adfde448ca7 (diff) |
Init travis
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..50f7fa6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,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 |