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 ++++++++++++++++++++++ OS/.travis.yml | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 .travis.yml delete mode 100644 OS/.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 diff --git a/OS/.travis.yml b/OS/.travis.yml deleted file mode 100644 index 734d549..0000000 --- a/OS/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -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