diff options
author | khilman <khilman@baylibre.com> | 2019-05-28 14:45:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 14:45:26 -0700 |
commit | 7ad58b7c905ac37e66f49a373d037264bc7126f7 (patch) | |
tree | d77ff9c5864db3ca4b5bd373cb9f1a2a6b4218e2 | |
parent | 678a0a4cb8993897609b48a32ec2497c7ee5e01a (diff) | |
parent | e83393eab386fadc2bc6dab79cde3ff8d619a54d (diff) |
Merge pull request #85 from aliceinwire/travis_testing
WIP: Travis CI for KernelCI-lava
-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 |