diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 07:18:20 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 07:18:20 +0100 |
commit | d756ad578a856c24bd06340329d5aceb9806e777 (patch) | |
tree | e77dd4ea3926cb2cefd813e020eaa1fb86ca803f /run-tests.sh | |
parent | 0344ff7da214b6ecfa6e738c0e9d5c5b9c9fcd46 (diff) | |
download | phpmyadmin-d756ad578a856c24bd06340329d5aceb9806e777.tar.gz phpmyadmin-d756ad578a856c24bd06340329d5aceb9806e777.tar.bz2 phpmyadmin-d756ad578a856c24bd06340329d5aceb9806e777.tar.xz phpmyadmin-d756ad578a856c24bd06340329d5aceb9806e777.zip |
adding travis
Diffstat (limited to 'run-tests.sh')
-rw-r--r-- | run-tests.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh new file mode 100644 index 0000000..585f279 --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -ev +sudo mkdir startx-docker-images; +sudo cd startx-docker-images; +sudo git clone https://github.com/startxfr/docker-images.git . +sudo docker build -t fedora OS/ +sudo docker run -it --name="fedora" fedora bash +sudo docker-compose up -d +sudo docker-compose logs +exit 1; +if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then + exit 0; +fi
\ No newline at end of file |