From 5def9f1ab49bc73aa349cca5edae7dba79446eb2 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 06:56:18 +0100 Subject: adding travis --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..734d549 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python +python: + - "3.4" + +services: + - docker + +before_install: +- docker pull startx/fedora +- docker run -it --name="fedora" startx/fedora +- mkdir startx-docker-images; +- cd startx-docker-images; +- git clone https://github.com/startxfr/docker-images.git . +- docker build -t fedora OS/ +- docker run -it --name="fedora" fedora bash +- docker-compose up -d +- docker-compose logs + +# command to install dependencies +#install: "pip install -r requirements.txt" +# command to run tests +script: nosetests -- cgit v1.2.3